Skip to content

Module: ui

UI theme and React components

npm install @self.id/ui

Type aliases

AvatarPlaceholderProps

Ƭ AvatarPlaceholderProps: Object

Type declaration

Name Type
did? string | null
size number | string

ColorType

Ƭ ColorType: string | { dark?: string ; light?: string } | undefined


Colors

Ƭ Colors: Record<string, ColorType>


ProviderProps

Ƭ ProviderProps: GrommetExtendedProps

Variables

colors

colors: Colors


theme

theme: ThemeType

Functions

AvatarPlaceholder

AvatarPlaceholder(props): JSX.Element

Parameters

Name Type
props AvatarPlaceholderProps

Returns

JSX.Element


Provider

Provider(props): JSX.Element

Parameters

Name Type
props GrommetExtendedProps

Returns

JSX.Element