UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

19 lines (18 loc) 684 B
import { ReactNode } from 'react'; import { FieldVariantProps } from 'styled-system/recipes'; import { FieldInputProps as PrimitiveInputProps } from './primitives'; /** * This module contains an abstraction of the Field.Input component. * @module 'field/input' */ export interface FieldInputElProps extends Omit<PrimitiveInputProps, 'size'>, FieldVariantProps { /** * An optional icon to display at the start of the input. */ startIcon?: ReactNode; /** * An optional icon to display at the end of the input. */ endIcon?: ReactNode; } export declare function CerberusFieldInput(props: FieldInputElProps): import("react/jsx-runtime").JSX.Element;