flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
14 lines (13 loc) • 491 B
TypeScript
import { type ComponentProps, type FC } from "react";
import type { ThemingProps } from "../../types";
export interface KbdTheme {
root: KbdRootTheme;
}
export interface KbdRootTheme {
base: string;
icon: string;
}
export interface KbdProps extends ComponentProps<"span">, ThemingProps<KbdTheme> {
icon?: FC<ComponentProps<"svg">>;
}
export declare const Kbd: import("react").ForwardRefExoticComponent<Omit<KbdProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;