Radio

少数选项中选一个:围绕面板色中心的墨色圆环;带描述的选项使用 RadioCards。

查看源码
import { Radio, RadioGroup, RadioCards } from "@logicplanes/kaeso-ui";

属性

  • aria-describedby
    string

    描述它的元素 ID。

  • aria-label
    string

    无障碍名称,用于没有可见标签的情况。

  • aria-labelledby
    string

    用其他文字为圆形按钮命名,例如标签内容较多的行中的第一行。

  • description
    ReactNode

    标签下方的一句帮助文字。

  • disabled
    boolean

    将其禁用:无法使用,并显示为变暗。

  • id
    string

    控件的 ID,便于其他位置的标签指向它。

  • label
    ReactNode

    可见标签。

  • value
    string

    此选项代表的值。