Skip to content

Commit

Permalink
fixed copypasta typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mimarz committed Sep 21, 2023
1 parent fc37648 commit 17806f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type UseTextfield = (props: TextfieldProps) => FormField & {
'readOnly' | 'type' | 'name' | 'required' | 'onClick' | 'onChange'
>;
};
/** Handles props for `Switch` in context with `Checkbox.Group` (and `Fieldset`) */
/** Handles props for `Textfield` in context with `Fieldset` */
export const useTextfield: UseTextfield = (props) => {
const fieldset = useContext(FieldsetContext);
const { inputProps, readOnly, ...rest } = useFormField(props, 'textfield');
Expand Down

0 comments on commit 17806f6

Please sign in to comment.