componentItem
Override an individual item within the component list.
const overrides = {
componentItem: ({ name }) => <div>{name}</div>,
};
Props
Prop | Example | Type |
---|---|---|
children | <div /> | ReactNode |
name | "Button" | ReactNode |
children
The default node for the component item.
name
THe name of the component item.