box-ui-elements-mlh
Version:
13 lines (12 loc) • 364 B
Markdown
### Descriptions
A read-only TextInput with copy button to its right. For browsers not supporting copy command, copy button is hidden.
### Examples
```
<TextInputWithCopyButton
label="Copy this"
value="https://facebook.github.io/react/docs/typechecking-with-proptypes.html"
buttonDefaultText="Copy"
buttonSuccessText="Copied"
type="url"
/>
```