UNPKG

@carbon/react

Version:

React components for the Carbon Design System

33 lines (32 loc) 935 B
/** * Copyright IBM Corp. 2016, 2025 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React, { type ReactNode } from 'react'; export interface CheckboxGroupProps { children?: ReactNode; className?: string; decorator?: ReactNode; helperText?: ReactNode; invalid?: boolean; invalidText?: ReactNode; legendId?: ReactNode; orientation?: 'horizontal' | 'vertical'; legendText: ReactNode; readOnly?: boolean; /** * * @deprecated please use decorator instead. * **Experimental**: Provide a `Slug` component to be rendered inside the `Checkbox` component */ slug?: ReactNode; warn?: boolean; warnText?: ReactNode; } export interface CustomType { size: string; kind: string; } declare const CheckboxGroup: React.FC<CheckboxGroupProps>; export default CheckboxGroup;