Kbd

Exports

Import these components from @mbsw/ui.

Kbd
KbdGroup

Props

The tables list common props for each component. See the full types for supported prop combinations and inherited HTML and Radix props.

See the full types for this component's shared props.

Type reference

Show full types

Full TypeScript definitions, including prop combinations and inherited props.

import { type ComponentProps } from 'react';

type DataAttributes = {
    [key: `data-${string}`]: boolean | number | string | undefined;
};

export type KbdProps = ComponentProps<'kbd'> & DataAttributes;

export type KbdGroupProps = ComponentProps<'kbd'> & DataAttributes;

export declare function Kbd({ className, ...props }: KbdProps): import("react").JSX.Element;

export declare function KbdGroup({ className, ...props }: KbdGroupProps): import("react").JSX.Element;