File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ type Story = StoryObj<typeof Input>;
1313
1414export const CheckboxBase : Story = {
1515 render : ( ) => (
16- < Form className = "m-3" >
16+ < Form >
1717 < fieldset >
1818 < legend > Checkbox</ legend >
1919 < FormGroup check >
@@ -32,7 +32,7 @@ export const CheckboxInline: Story = {
3232 < section >
3333 < fieldset >
3434 < legend > Checkbox</ legend >
35- < Form className = "m-3" >
35+ < Form >
3636 < FormGroup check inline >
3737 < Input id = "inline-checkbox1" type = "checkbox" />
3838 < Label for = "inline-checkbox1" check >
@@ -56,7 +56,7 @@ export const CheckboxDisabilitato: Story = {
5656 < section >
5757 < fieldset >
5858 < legend > Checkbox</ legend >
59- < Form className = "m-3" >
59+ < Form >
6060 < FormGroup check >
6161 < Input disabled id = "disabled-checkbox1" type = "checkbox" />
6262 < Label for = "disabled-checkbox1" check >
@@ -141,7 +141,7 @@ export const CheckboxGruppi: Story = {
141141//Da correggere il componente input nel caso in cui venga aggiunta la classe semi-checked perchè il render del componente è sbagliato
142142export const CheckboxMixedButton : Story = {
143143 render : ( ) => (
144- < Form className = "m-3" >
144+ < Form >
145145 < fieldset >
146146 < legend > Checkbox</ legend >
147147 < FormGroup check >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ type Story = StoryObj<typeof Input>;
1313
1414export const RadioBase : Story = {
1515 render : ( ) => (
16- < Form className = "m-3" >
16+ < Form >
1717 < fieldset >
1818 < legend > Radio</ legend >
1919
@@ -40,7 +40,7 @@ export const RadioInline: Story = {
4040 < section >
4141 < fieldset >
4242 < legend > Radio</ legend >
43- < Form className = "m-3" >
43+ < Form >
4444 < FormGroup check inline >
4545 < Input name = "gruppo1" type = "radio" id = "radio3" defaultChecked />
4646 < Label check htmlFor = "radio3" >
@@ -64,7 +64,7 @@ export const RadioDisabilitato: Story = {
6464 < section >
6565 < fieldset >
6666 < legend > Radio</ legend >
67- < Form className = "m-3" >
67+ < Form >
6868 < FormGroup check >
6969 < Input disabled name = "gruppo1" type = "radio" id = "radio5" defaultChecked />
7070 < Label check htmlFor = "radio5" >
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export const Toggles: Story = {
1616 return (
1717 < Row >
1818 < Col sm = "6" >
19- < FormGroup check className = "m-3" >
19+ < FormGroup check >
2020 < Toggle label = "Label dell'interruttore 1" disabled = { false } />
2121 </ FormGroup >
2222 </ Col >
@@ -30,7 +30,7 @@ export const TogglesDisabilitate: Story = {
3030 return (
3131 < Row >
3232 < Col sm = "6" >
33- < FormGroup check className = "m-3" >
33+ < FormGroup check >
3434 < Toggle label = "Label dell'interruttore 1" disabled = { true } />
3535 </ FormGroup >
3636 </ Col >
You can’t perform that action at this time.
0 commit comments