check
Code copied to clipboard.
close
menu
menu_open
menu

LkIconButtonProps

Describes props for the Icon Button component.

Scope

Global
Local

Kind

Interface
Type

Source Code

content_copy

export interface LkIconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {

 icon: IconName;

 variant?: "fill" | "outline" | "text";

 // color?: string; // LkColor

 color?: LkColorWithOnToken;

 size?: LkIconButtonSize;

 fontClass?: LkFontClass; //optional, if present it will control the size directly via fontClass

 className?: string; //optional, making explicit here so we can control how it mixes in with locally-passed props

}

Related Components

Components that use this type.

Related Types

Types with similar roles.

No items found.