smart-react-components
Version:
React UI library, wide variety of editable ready to use Styled and React components.
21 lines (20 loc) • 788 B
TypeScript
import { JSXElementProps, JSXChild } from "../props";
interface Props {
element: JSX.Element;
containerProps: JSXElementProps;
inputProps: JSXElementProps;
labelProps: JSXElementProps;
label: JSXChild;
shape?: string;
leftAddon?: JSXChild;
leftAddonProps?: JSXElementProps;
leftAddonAbsolute?: boolean;
rightAddon?: JSXChild;
rightAddonProps?: JSXElementProps;
rightAddonAbsolute?: boolean;
hint?: JSXChild;
error?: JSXChild;
isFocused?: boolean;
}
declare const _default: ({ element, containerProps, inputProps, labelProps, label, shape, leftAddon, leftAddonProps, leftAddonAbsolute, rightAddon, rightAddonProps, rightAddonAbsolute, hint, error, isFocused }: Props) => JSX.Element;
export default _default;