Empty

Exports

@mbsw/ui에서 가져올 수 있는 항목입니다.

Empty
EmptyContent
EmptyDescription
EmptyHeader
EmptyMedia
EmptyTitle

Props

컴포넌트별 주요 속성입니다. 조건부 속성의 조합과 공통 HTML, Radix 속성은 아래 전체 타입에서 확인하세요.

Empty

Empty 속성
PropType필수 여부
size'lg' | 'md' | 'sm'선택

Type reference

전체 타입 보기

속성 조합과 상속 속성을 포함한 TypeScript 선언입니다.

import { type HTMLAttributes } from 'react';

type DataAttributes = {
    [key: `data-${string}`]: boolean | number | string | undefined;
};

type DivProps = HTMLAttributes<HTMLDivElement> & DataAttributes;

type ParagraphProps = HTMLAttributes<HTMLParagraphElement> & DataAttributes;

export type EmptySize = 'lg' | 'md' | 'sm';

export type EmptyProps = Omit<DivProps, 'size'> & {
    size?: EmptySize;
};

export type EmptyHeaderProps = DivProps;

export type EmptyMediaProps = DivProps;

export type EmptyTitleProps = DivProps;

export type EmptyDescriptionProps = ParagraphProps;

export type EmptyContentProps = DivProps;

export declare const Empty: import("react").ForwardRefExoticComponent<Omit<DivProps, "size"> & {
    size?: EmptySize;
} & import("react").RefAttributes<HTMLDivElement>>;

export declare const EmptyHeader: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & DataAttributes & import("react").RefAttributes<HTMLDivElement>>;

export declare const EmptyMedia: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & DataAttributes & import("react").RefAttributes<HTMLDivElement>>;

export declare const EmptyTitle: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & DataAttributes & import("react").RefAttributes<HTMLDivElement>>;

export declare const EmptyDescription: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLParagraphElement> & DataAttributes & import("react").RefAttributes<HTMLParagraphElement>>;

export declare const EmptyContent: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & DataAttributes & import("react").RefAttributes<HTMLDivElement>>;