fix(tile-group): add name and required props

This commit is contained in:
Eric Liu 2023-10-03 07:47:14 -07:00 committed by metonym
commit ea19db92f3
7 changed files with 103 additions and 23 deletions

View file

@ -22,6 +22,12 @@ export interface RadioTileProps extends RestProps {
*/
disabled?: boolean;
/**
* Set to `true` to mark the field as required
* @default false
*/
required?: boolean;
/**
* Specify the value of the radio input
* @default ""
@ -47,8 +53,8 @@ export interface RadioTileProps extends RestProps {
id?: string;
/**
* Specify a name attribute for the input
* @default ""
* Specify a name attribute for the radio tile input
* @default undefined
*/
name?: string;