UNPKG

@commercelayer/react-components

Version:
9 lines (8 loc) 393 B
import { type FunctionComponent, type JSX } from 'react'; type BaseFieldChildren = Omit<BaseFieldProps, 'children'>; export interface BaseFieldProps extends Omit<JSX.IntrinsicElements['span'], 'children' | 'ref'> { attribute: 'number' | 'id'; children?: (props: BaseFieldChildren) => JSX.Element; } declare const BaseField: FunctionComponent<BaseFieldProps>; export default BaseField;