@primer/react-brand
Version:
Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.
20 lines • 859 B
TypeScript
import React, { type InputHTMLAttributes } from 'react';
import type { BaseProps } from '../../component-helpers';
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css';
export type RadioProps = {
/**
* Apply inactive visual appearance to the Radio
*/
disabled?: boolean;
/**
* Indicates whether the Radio must be checked
*/
required?: boolean;
/**
* A unique value that is never shown to the user.
* Used during form submission and to identify which Radio inputs are selected
*/
value?: string;
} & Exclude<InputHTMLAttributes<HTMLInputElement>, 'value'> & BaseProps<HTMLInputElement>;
export declare const Radio: React.ForwardRefExoticComponent<Omit<RadioProps, "ref"> & React.RefAttributes<unknown>>;
//# sourceMappingURL=Radio.d.ts.map