UNPKG

baseui

Version:

A React Component library implementing the Base design language

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