UNPKG

baseui

Version:

A React Component library implementing the Base design language

9 lines (8 loc) 491 B
import * as React from 'react'; import type { BaseButtonProps, SharedStyleProps } from './types'; export interface ButtonComponentType { <C extends React.ElementType = 'button'>(props: BaseButtonProps & Omit<React.ComponentProps<C>, keyof BaseButtonProps | keyof SharedStyleProps> & SharedStyleProps<C | React.ComponentType<any> | keyof JSX.IntrinsicElements>): JSX.Element; displayName?: string; } declare const ForwardedButton: ButtonComponentType; export default ForwardedButton;