@primer/react
Version:
An implementation of GitHub's Primer Design System using React
27 lines (26 loc) • 934 B
TypeScript
import { CheckboxOrRadioGroupLabelProps } from "./CheckboxOrRadioGroupLabel.js";
import React from "react";
//#region src/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.d.ts
type CheckboxOrRadioGroupProps = {
/** Class name for custom styling */className?: string;
/**
* Used when associating the input group with a label other than `CheckboxOrRadioGroup.Label`
*/
['aria-labelledby']?: string;
/**
* Whether the input group allows user input
*/
disabled?: boolean;
/**
* The unique identifier for this input group. Used to associate the label, validation text, and caption text.
* You may want a custom ID to make it easier to select elements in integration tests.
*/
id?: string;
/**
* If true, the user must make a selection before the owning form can be submitted
*/
required?: boolean;
'data-component'?: string;
};
//#endregion
export { CheckboxOrRadioGroupProps };