@wonderflow/react-components
Version:
UI components from Wonderflow's Wanda design system
32 lines • 900 B
TypeScript
import { ReactNode } from 'react';
export declare type InputGroupProps = {
/**
* Pas the input element to decorate
*/
input: ReactNode;
/**
* Add a decoration element after the input.
*/
prefix?: ReactNode;
/**
* Add a decoration element before the input.
*/
end?: ReactNode;
/**
* Add an accessible label to the componsed input group
*/
suffix?: ReactNode;
/**
* Pass the dimension down to the imput element.
*/
dimension?: 'small' | 'big' | 'regular';
/**
* Assign a label to the center field.
*/
label?: string;
};
export declare const InputGroup: import("react").ForwardRefExoticComponent<{
style?: Record<string, any> | undefined;
className?: string | undefined;
} & InputGroupProps & import("react").RefAttributes<HTMLFieldSetElement>>;
//# sourceMappingURL=input-group.d.ts.map