Skip to content

Commit d09f644

Browse files
committed
docs: add jsdoc
1 parent c3bfddc commit d09f644

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/radio/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ import styles from './radio.style';
2020
*
2121
* @summary A radio button component.
2222
*
23-
* @prop {`boolean`} `checked` - Indicates whether the radio button is checked.
24-
* @prop {`boolean`} `disabled` - Indicates whether the radio button is disabled.
25-
* @prop {`string`} `value` - The value of the radio button.
23+
* @prop {`boolean`} [`checked`=`false`] - Indicates whether the radio button is checked.
24+
* @prop {`boolean`} [`disabled`=`false`] - Indicates whether the radio button is disabled.
25+
* @prop {`string`} [`value`=`''`] - The value of the radio button.
2626
*
2727
* @csspart [`radio`] - The main container for the radio button.
2828
* @cssprop [`--tap-radio-border-radius`=`--tap-sys-radius-full`] - The border radius of the radio button.

0 commit comments

Comments
 (0)