synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
14 lines • 818 B
TypeScript
export type CopyToClipboardInputProps = {
value: string;
inputWidth: string;
};
/**
* Component that holds a large string in a readonly <input> to be copied to the user's clipboard when clicked.
* This component should only be used when the full length of the string value to copy does not necessarily need to be
* seen by the user. This component was adapted from the email address copy to clipboard functionality in UserCardMedium.
* For smaller/inline strings, look at UserCardMedium functionality for displaying the value in a <p> tag instead of a
* readonly <input> tag.
*/
export declare function CopyToClipboardInput({ value, inputWidth, }: CopyToClipboardInputProps): import("react/jsx-runtime").JSX.Element;
export default CopyToClipboardInput;
//# sourceMappingURL=CopyToClipboardInput.d.ts.map