UNPKG

@commercelayer/react-components

Version:
11 lines (10 loc) 423 B
import type { ReactNode, JSX } from 'react'; import type { ChildrenFunction } from '../typings/index'; interface ChildrenProps extends Omit<Props, 'children'> { } interface Props extends Omit<JSX.IntrinsicElements['button'], 'children' | 'ref'> { children?: ChildrenFunction<ChildrenProps>; label?: string | ReactNode; } export declare function SubmitButton(props: Props): JSX.Element; export default SubmitButton;