MCPcopy Create free account
hub / github.com/stackblitz/bolt.new / BaseIconButtonProps

Interface BaseIconButtonProps

app/components/ui/IconButton.tsx:6–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4type IconSize = 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
5
6interface BaseIconButtonProps {
7 size?: IconSize;
8 className?: string;
9 iconClassName?: string;
10 disabledClassName?: string;
11 title?: string;
12 disabled?: boolean;
13 onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
14}
15
16type IconButtonWithoutChildrenProps = {
17 icon: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected