check
Code copied to clipboard.
close
menu
menu_open
menu

LkTabMenuProps

Describes props for the Tab Menu component.

Scope

Global
Local

Kind

Interface
Type

Source Code

content_copy

interface LkTabMenuProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick'> {

 tabLinks?: string[];

 alignItems?: "start" | "center" | "end" | "stretch";

 justifyContent?: "start" | "center" | "end" | "space-between" | "space-around";

 activeTab: number;

 setActiveTab: (index: number) => void;

 onClick?: (index: number) => void; // Optional function to lift state

}

Related Components

Components that use this type.

No items found.

Related Types

Types with similar roles.