Common front-end components for Web using the Tesseract design system, written for React. https://make.modal.sh/tesseract/web/react/common
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

33 řádky
745 B

  1. ---
  2. name: RadioButton
  3. route: /components/radiobutton
  4. menu: Components
  5. ---
  6. import { Playground, Props, Link } from 'docz'
  7. import RadioButton from './RadioButton'
  8. # RadioButton
  9. Component for values which are to be selected from a few list of options.
  10. <Playground>
  11. <div style={{ display: 'grid', gap: '1rem', }}>
  12. <div>
  13. <RadioButton name="flavor" label="Chocolate" />
  14. </div>
  15. <div>
  16. <RadioButton name="flavor" label="Vanilla" />
  17. </div>
  18. </div>
  19. </Playground>
  20. ## Props
  21. <Props of={RadioButton} />
  22. ## See Also
  23. - <Link to="../checkbox">Checkbox</Link> for a similar component on selecting values among very few choices.
  24. - <Link to="../select">Select</Link> for a similar component suitable for selecting more values.