Skip to main content

types.common.types

Components

isStatusType()

isStatusType(type): type is Status

Parameters

ParameterType
typeColor

Returns

type is Status

Source

libs/design-system-core/src/components/types/common.types.ts:25

Props

BasicIconSize

BasicIconSize: BasicSize | object

Source

libs/design-system-core/src/components/types/common.types.ts:19


BasicSize

BasicSize: "xs" | "sm" | "md" | "lg" | "xl"

Source

libs/design-system-core/src/components/types/common.types.ts:17


BreakPointSize

BreakPointSize: object

Type declaration

MemberType
breakPointstring
sizeBasicSize

Source

libs/design-system-core/src/components/types/common.types.ts:21


Color

Color: object | object | Status | Colors

Source

libs/design-system-core/src/components/types/common.types.ts:5


Elevation

Elevation: "none" | "1" | "2" | "3" | "4"

Source

libs/design-system-core/src/components/types/common.types.ts:11


ImageSrc

ImageSrc: object

Type declaration

MemberType
fallbackUrlstring
urlstring

Source

libs/design-system-core/src/components/types/common.types.ts:23


Padding

Padding: number | object | `p${string}`

Source

libs/design-system-core/src/components/types/common.types.ts:15


Radius

Radius: number | object | string

Source

libs/design-system-core/src/components/types/common.types.ts:13


Status

Status: "warning" | "error" | "success"

Source

libs/design-system-core/src/components/types/common.types.ts:3

Variables

STATUS_TO_COLOR_CLASSES_MAP

const STATUS_TO_COLOR_CLASSES_MAP: Record <Status, Color>

Source

libs/design-system-core/src/components/types/common.types.ts:29