Skip to content

frontend


Function: default()

default(props): Element

Defined in: src/components/button/IconButton.tsx:81

IconButton component that wraps ActionIcon with automatic sizing.

Parameters

props

IconButtonProps

Component props

Returns

Element

ActionIcon with Icon inside

Example

<IconButton
  icon={<IconPencil />}
  size="lg"
  variant="subtle"
  color="blue"
  onClick={handleClick}
  aria-label="Edit"
/>