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>
58
+
</Checkboxes>
61
59
),
62
60
};
63
61
@@ -67,25 +65,23 @@ export const WithHintText: Story = {
67
65
hint: undefined,
68
66
},
69
67
render: (args)=>(
70
-
<form>
71
-
<Checkboxes{...args}>
72
-
<Checkboxes.Item
73
-
name="gateway"
74
-
type="checkbox"
75
-
value="gov-gateway"
76
-
hint="You’ll have a user ID if you’ve registered for Self Assessment or filed a tax return online before."
77
-
>
78
-
Sign in with Government Gateway
79
-
</Checkboxes.Item>
80
-
<Checkboxes.Item
81
-
name="verify"
82
-
value="nhsuk-verify"
83
-
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."
84
-
>
85
-
Sign in with NHS.UK login
86
-
</Checkboxes.Item>
87
-
</Checkboxes>
88
-
</form>
68
+
<Checkboxes{...args}>
69
+
<Checkboxes.Item
70
+
name="gateway"
71
+
type="checkbox"
72
+
value="gov-gateway"
73
+
hint="You’ll have a user ID if you’ve registered for Self Assessment or filed a tax return online before."
74
+
>
75
+
Sign in with Government Gateway
76
+
</Checkboxes.Item>
77
+
<Checkboxes.Item
78
+
name="verify"
79
+
value="nhsuk-verify"
80
+
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."
<Checkboxes.Itemvalue="other">Citizen of another country</Checkboxes.Item>
97
+
</Checkboxes>
104
98
),
105
99
};
106
100
@@ -111,39 +105,35 @@ export const SmallWithHintText: Story = {
111
105
small: true,
112
106
},
113
107
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."
128
-
>
129
-
Sign in with NHS.UK login
130
-
</Checkboxes.Item>
131
-
</Checkboxes>
132
-
</form>
108
+
<Checkboxes{...args}>
109
+
<Checkboxes.Item
110
+
name="gateway"
111
+
type="checkbox"
112
+
value="gov-gateway"
113
+
hint="You’ll have a user ID if you’ve registered for Self Assessment or filed a tax return online before."
114
+
>
115
+
Sign in with Government Gateway
116
+
</Checkboxes.Item>
117
+
<Checkboxes.Item
118
+
name="verify"
119
+
value="nhsuk-verify"
120
+
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