Closed lucas-it closed 1 year ago
This PR adds the ability to pass a React element into the Button element. For exemple :
<Button type="primary"> <Icon name="login" /> </Button>
you also need to add
children?: React.ReactNode
in ButtonProps for React 18
ButtonProps
you also need to add children?: React.ReactNode in ButtonProps for React 18
You're right. I forget it. It's fixed
This PR adds the ability to pass a React element into the Button element. For exemple :