import { ComponentPropsWithRef } from 'react'; import { CheckboxStatus } from '../../../types/checkbox.types'; import { CheckboxType } from '../../Inputs/Checkbox/Checkbox.types'; export interface CheckboxListItemProps extends CheckboxStatus, ComponentPropsWithRef<'input'> { label?: string; description?: string; errorMessage?: string; CheckboxClassName?: string; type?: CheckboxType; } /** * 체크박스와 라벨, 설명을 포함하는 리스트 아이템 컴포넌트입니다. * * @component * @param {Object} props * @param {string} [props.label] - 체크박스 옆에 표시될 라벨 텍스트 * @param {string} [props.description] - 라벨 아래에 표시될 설명 텍스트 * @param {string} [props.errorMessage] - 체크박스 오류 메시지 * @param {string} [props.CheckboxClassName] - 체크박스에 적용될 커스텀 클래스 * @param {CheckboxType} [props.type='box'] - 체크박스 타입 ('box' | 'circle' | 'sub') * @param {boolean} [props.checked] - 체크박스의 선택 상태 * @param {boolean} [props.disabled=false] - 체크박스의 비활성화 상태 * @param {boolean} [props.isError=false] - 체크박스의 에러 상태 * @param {Function} [props.onChange] - 체크박스 상태 변경 시 호출되는 콜백 함수 * @param {ReactNode} [props.children] - 라벨 영역에 표시될 추가 컴포넌트 * * @example * // 기본 사용 * * * // 비활성화 상태 * * * // 에러 상태 * * * // 원형 체크박스 * */ declare const CheckboxListItem: ({ label, description, type, checked, disabled, isError, errorMessage, className, CheckboxClassName, onChange, children, ...rest }: CheckboxListItemProps) => import("react/jsx-runtime").JSX.Element; export { CheckboxListItem };