Button
▸ Button(props): null | ReactElement<any, string | JSXElementConstructor<any>>
Buttons triggers allow users to identify and start the most important actions in a container.
Parameters
| Name | Type |
|---|---|
props | ButtonProps & RefAttributes<HTMLButtonElement> |
Returns
null | ReactElement<any, string | JSXElementConstructor<any>>
Example
<Button>Action label</Button>Defined in
node_modules/.pnpm/@types+react@18.2.14/node_modules/@types/react/ts5.0/index.d.ts:355