mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
docs(): update usage and examples
This commit is contained in:
@ -23,8 +23,7 @@ export class Checkbox implements CheckboxInput {
|
||||
@State() keyFocus = false;
|
||||
|
||||
/**
|
||||
* The color to use.
|
||||
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
||||
* The color to use for the checkbox.
|
||||
*/
|
||||
@Prop() color?: Color;
|
||||
|
||||
@ -50,7 +49,7 @@ export class Checkbox implements CheckboxInput {
|
||||
@Prop() disabled = false;
|
||||
|
||||
/**
|
||||
* the value of the checkbox.
|
||||
* The value of the checkbox.
|
||||
*/
|
||||
@Prop() value = 'on';
|
||||
|
||||
|
Reference in New Issue
Block a user