UNPKG

@fidely-ui/react

Version:

Fidely UI is a modern, beautifully crafted React design system powered by Ark UI and Panda CSS, delivering accessible and themeable components for building exceptional web apps

24 lines (23 loc) 818 B
import * as React from 'react'; import { type BoxProps } from '../box/index'; import { type InputAddonProps } from '../input-addon/index'; export interface InputGroupProps extends Omit<BoxProps, 'direction'> { startAddon?: React.ReactNode | undefined; /** * The props to pass to the start addon */ startAddonProps?: InputAddonProps | undefined; /** * The end addon to render the right of the group */ endAddon?: React.ReactNode | undefined; /** * The props to pass to the end addon */ endAddonProps?: InputAddonProps | undefined; /** * The children to render inside the group */ children: React.ReactNode; } export declare const InputGroup: React.ForwardRefExoticComponent<Omit<InputGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;