UNPKG

@coveord/plasma-mantine

Version:

A Plasma flavoured Mantine theme

25 lines 775 B
import { ReactNode } from 'react'; export interface CollectionAddButtonProps { /** * The label of the add item button * * @default "Add item" */ addLabel?: ReactNode; /** * The tooltip text displayed when hovering over the disabled add item button * * @default 'There is already an empty item' */ addDisabledTooltip?: string; /** * Whether the add button is allowed/enabled */ addAllowed: boolean; /** * Callback when the add button is clicked */ onAdd: () => void; } export declare const CollectionAddButton: ({ addLabel, addDisabledTooltip, addAllowed, onAdd }: CollectionAddButtonProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=CollectionAddButton.d.ts.map