Skip to content

Commit

Permalink
fix(ui): fix FormHint TS types
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Sep 2, 2024
1 parent a2c7ad3 commit 756cf00
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ export default {
},
}

const Template = ({ children, ...args }) => <FormHint {...args}>{children}</FormHint>
type TemplateProps = {
children: React.ReactNode
}

const Template = ({ children, ...args }: TemplateProps) => <FormHint {...args}>{children}</FormHint>
Template.propTypes = {
children: PropTypes.node,
}
Expand Down

0 comments on commit 756cf00

Please sign in to comment.