@radix-ui/themes
Version:
[](https://radix-ui.com/themes)
11 lines (10 loc) • 524 B
TypeScript
import * as React from 'react';
import { kbdPropDefs } from './kbd.props.js';
import type { ComponentPropsWithout, RemovedProps } from '../helpers/index.js';
import type { GetPropDefTypes, MarginProps } from '../props/index.js';
type KbdOwnProps = GetPropDefTypes<typeof kbdPropDefs>;
interface KbdProps extends ComponentPropsWithout<'kbd', RemovedProps>, MarginProps, KbdOwnProps {
}
declare const Kbd: React.ForwardRefExoticComponent<KbdProps & React.RefAttributes<HTMLElement>>;
export { Kbd };
export type { KbdProps };