surf-design-system
Version:
Surf Design System
19 lines (18 loc) • 608 B
TypeScript
/** @jsxRuntime classic */
/** @jsx jsx */
import { sizeSDS } from '../types/common';
export declare type LabelPosition = 'top' | 'side';
export interface LabelProps {
children?: React.ReactNode;
size?: sizeSDS;
position?: LabelPosition;
isRequired?: boolean;
disabled?: boolean;
marginBottom?: string;
}
export default function Label({ children, // 라벨 텍스트
size, // 라벨 텍스트 크기
position, // 라벨 위치
isRequired, // 필수 입력 값
disabled, // 비활성화
marginBottom, }: LabelProps): import("@emotion/react/jsx-runtime").JSX.Element;