@nex-ui/react
Version:
🎉 A beautiful, modern, and reliable React component library.
13 lines (10 loc) • 393 B
TypeScript
import { Interpolation } from '@nex-ui/system';
import { ElementType, ComponentProps } from 'react';
import { Overwrite } from '../../types/utils.js';
type ButtonBaseProps<RootComponent extends ElementType = 'button'> = Overwrite<ComponentProps<RootComponent>, {
as?: RootComponent;
sx?: Interpolation;
href?: string;
disabled?: boolean;
}>;
export type { ButtonBaseProps };