@slashid/react
Version:
React SDK for the /id platform
16 lines • 558 B
TypeScript
type ReadOnlyPropsField = {
value: string;
id: string;
label?: string;
as?: "input" | "textarea" | "div";
rows?: number;
copy?: boolean;
className?: string;
fieldClassName?: string;
};
/**
* A component used to display read-only values in forms, with optional right accessory to copy the value to clipboard.
*/
export declare function ReadOnlyField({ id, value, label, as, rows, copy, className, fieldClassName, }: ReadOnlyPropsField): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=index.d.ts.map