DidField
Components
DidField()
DidField(
props
,context
?):ReactNode
A DidField component provides a stylish way to display a DID address. It will include a corresponding network icon, truncate the address if it's too long, and provide a CopyToClipboard functionality that can also be disabled depending on the use case.
Parameters
Parameter | Type |
---|---|
props | DidFieldProps |
context ? | any |
Returns
ReactNode
Source
libs/design-system-core/src/components/DidField/index.tsx:42
Props
DidFieldProps
DidFieldProps:
object
Type declaration
Member | Type |
---|---|
copiable | boolean |
copiedLabel | string |
copyLabel | string |
customStyle | string |
did | string |
isValid | boolean |
textColor | Color |
Source
libs/design-system-core/src/components/DidField/index.tsx:17