Public function

Signature
function TldrawUiButtonIcon({
  icon,
  small,
  invertIcon,
}: TLUiButtonIconProps): import('react/jsx-runtime').JSX.Element
Parameters
NameDescription

{ icon, small, invertIcon }

TLUiButtonIconProps
Returns
import('react/jsx-runtime').JSX.Element
References

TLUiButtonIconProps

Source

packages/tldraw/src/lib/ui/components/primitives/Button/TldrawUiButtonIcon.tsx

TldrawUiButtonCheckTldrawUiButtonLabel