Components
action
Code

Action

Action(props): null | ReactElement<any, string | JSXElementConstructor<any>>

Specific button used for contextual actions

Parameters

NameType
propsOmit<ButtonProps, "variant"> & { iconOnly?: boolean ; label?: ReactNode ; vertical?: boolean } & RefAttributes<HTMLButtonElement>

Returns

null | ReactElement<any, string | JSXElementConstructor<any>>

Example

<Action>Label</Action>

Defined in

node_modules/.pnpm/@types+react@18.2.14/node_modules/@types/react/ts5.0/index.d.ts:355