Skip to main content

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

ParameterType
propsDidFieldProps
context?any

Returns

ReactNode

Source

libs/design-system-core/src/components/DidField/index.tsx:42

Props

DidFieldProps

DidFieldProps: object

Type declaration

MemberType
copiableboolean
copiedLabelstring
copyLabelstring
customStylestring
didstring
isValidboolean
textColorColor

Source

libs/design-system-core/src/components/DidField/index.tsx:17