@commercelayer/react-components
Version:
The Official Commerce Layer React Components
11 lines (10 loc) • 423 B
TypeScript
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;