Skip to content

Commit

Permalink
feat(plasma-web/b2c): add textfield label as controlled prop in stories
Browse files Browse the repository at this point in the history
  • Loading branch information
TitanKuzmich committed May 26, 2024
1 parent 61d7ff5 commit c89d5d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const propsToDisable = [
'contentLeft',
'htmlSize',
'$isFocused',
'label',
'contentRight',
'onChangeChips',
'onSearch',
Expand Down Expand Up @@ -69,6 +68,9 @@ const meta: Meta<TextFieldProps> = {
type: 'inline-radio',
},
},
label: {
control: 'text',
},
...disableProps(propsToDisable),
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const propsToDisable = [
'contentLeft',
'htmlSize',
'$isFocused',
'label',
'contentRight',
'onChangeChips',
'onSearch',
Expand Down Expand Up @@ -64,6 +63,9 @@ const meta: Meta<TextFieldProps> = {
type: 'inline-radio',
},
},
label: {
control: 'text',
},
...disableProps(propsToDisable),
},
};
Expand Down

0 comments on commit c89d5d4

Please sign in to comment.