check
Code copied to clipboard.
close
menu
menu_open
menu

LkIconProps

Describes props for the Icon component.

Scope

Global
Local

Kind

Interface
Type

Source Code

content_copy

export interface LkIconProps extends React.HTMLAttributes<HTMLElement> {

 name?: IconName;

 fontClass?: Exclude<LkFontClass, `${string}-bold` | `${string}-mono`>;

 color?: LkColor | "currentColor";

 display?: "block" | "inline-block" | "inline";

 strokeWidth?: number;

 opticShift?: boolean; //if true, pulls icon slightly upward

}

Related Components

Components that use this type.

Related Types

Types with similar roles.

No items found.