Common front-end components for Web using the Tesseract design system, written for React. https://make.modal.sh/tesseract/web/react/common
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516171819202122232425
  1. ---
  2. name: Checkbox
  3. route: /components/checkbox
  4. menu: Components
  5. ---
  6. import { Playground, Props, Link } from 'docz'
  7. import Checkbox from './Checkbox'
  8. # Checkbox
  9. Component for values that have an on/off state.
  10. <Playground>
  11. <Checkbox label="Accept Terms" />
  12. </Playground>
  13. ## Props
  14. <Props of={Checkbox} />
  15. ## See Also
  16. - <Link to="../lib-components-select-select">Select</Link> for a similar component suitable for selecting more values.
  17. - <Link to="../lib-components-radio-button-radio-button">Radio Button</Link> for a similar component on selecting a single value among very few choices.