You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Checkboxes.Itemvalue="other">Citizen of another country</Checkboxes.Item>
102
+
</Checkboxes>
103
+
</form>
104
+
),
105
+
};
106
+
107
+
exportconstSmallWithHintText: Story={
108
+
args: {
109
+
legend: 'How do you want to sign in?',
110
+
hint: undefined,
111
+
small: true,
112
+
},
113
+
render: (args)=>(
114
+
<form>
115
+
<Checkboxes{...args}>
116
+
<Checkboxes.Item
117
+
name="gateway"
118
+
type="checkbox"
119
+
value="gov-gateway"
120
+
hint="You’ll have a user ID if you’ve registered for Self Assessment or filed a tax return online before."
121
+
>
122
+
Sign in with Government Gateway
123
+
</Checkboxes.Item>
124
+
<Checkboxes.Item
125
+
name="verify"
126
+
value="nhsuk-verify"
127
+
hint="You’ll have an account if you’ve already proved your identity with either Barclays, CitizenSafe, Digidentity, Experian, Post Office, Royal Mail or SecureIdentity."
<Radios.Itemvalue="create-account">Create an account</Radios.Item>
209
+
</Radios>
210
+
),
211
+
};
212
+
213
+
exportconstSmallRadiosWithHintsOnItems: Story={
214
+
args: {
215
+
legend: 'How do you want to sign in?',
216
+
legendProps: {isPageHeading: true,size: 'm'},
217
+
hint: undefined,
218
+
idPrefix: 'small-hints',
219
+
small: true,
220
+
},
221
+
render: (args)=>(
222
+
<Radios{...args}>
223
+
<Radios.Item
224
+
value="government-gateway"
225
+
hint="You'll have a user ID if you've registered for self-assessment or filed a tax return online before."
226
+
>
227
+
Use Government Gateway
228
+
</Radios.Item>
229
+
<Radios.Item
230
+
value="nhsuk-login"
231
+
hint="You’ll have an account if you’ve already proved your identity with either Barclays, CitizenSafe, Digidentity, Experian, Post Office, Royal Mail or SecureIdentity."
0 commit comments