Here is an argument, which hopefully is not too dodgy:
Firstly, if $D_{\eta}$ is an effective divisor on $X_{\eta}$, then the Zariski closure $D$ of $D_{\eta}$ will be an effective divisor on $X$. Since $Pic(X_{\eta})$ is generated by the classes of effective divisors, this shows that the restriction map from $Pic(X)$ to $Pic(X_{\eta})$ is surjective.
Now let $\mathcal L$ be a line bundle on $X$ which is trivial when restricted to $X_{\eta}$. If we choose a non-zero section $f$ of $\mathcal L_{\eta}$, then multiplying by a sufficiently high power of $\pi$ (a uniformizer of $A$), we may assume that $f$ extends to a section of $\mathcal L$. The zero locus of $f$ is then some multiple of $X_s$ (the special fibre). This is precisely the zero locus of $\pi$, and so scaling again by an appropriate power of $\pi$, we may assume that $f$ is actually nowhere zero, showing that $\mathcal L$ is trivial.
Note: I am assuming that the special fibre is irreducible. [Edit: As Laurent Moret-Bailly points out below, what follows is incorrect, due to a confusion between connectedness and geometric connectedness. New Edit: As Qing Liu points out in his answer, while the argument given is not quite correct, the conclusion is actually okay!]
But
But I think the general case
reduces to this. Namely, since $X$ is smooth over $A$, each connected component is irreducible, hence has connected generic fibre, hence has connected special fibre (Zariski's connectedness theorem), hence has irreducible special fibre (since the special fibre is also smooth by assumption). Thus the above argument, if it is correct, should apply to each connected component separately.
Additional remark: Although I thinkswitched into the general case reduces tolanguage of line bundles half-way through the above argument, this is not necessary (it is just the first thing that came to mind when I initially wrote the answer). Namely, since It is perhaps cleaner to think entirely in terms of restricting effective divisors $D$ on $X$ is smooth overto $A$$X_{\eta}$, each connected component is irreducibleand extending effective divisors on $X_{\eta}$ to all of $X$ by taking Zariski closure. One easily sees that these operations provide an isomorphism between $Pic(X)$ and $Pic(X_{\eta})$, hence has connected genericprovided that every divisor supported on the special fibre, hence has connected is principal. If the special fibre (Zariski's connectedness theorem), hence hasis irreducible, then there is only one reduced effective divisor supported on the special fibre (since, namely the special fibre is also smoothitself, and this is principal, being cut out by assumption). Thus the above argument,equation $\pi = 0$. What Qing Liu's answer shows is that even if $X_s$ is reducible, it is correctstill the case that it breaks up as a disjoint union of components, should apply to each connected component separatelyof which is principal.