@brizy/ui
Version:
React elements in Brizy style
14 lines (13 loc) • 405 B
TypeScript
import { ReactElement } from "react";
import { Color } from "../types";
import { FieldsTheme } from "../utils/getFieldsTheme";
export interface Props {
size?: "small" | "middle" | "large";
theme?: FieldsTheme & {
border?: Color;
};
children: ReactElement;
onClick?: VoidFunction;
disabled?: boolean;
}
export declare const FieldPlaceholder: (props: Props) => ReactElement;