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ů.
 
 
 
 

31 řádky
781 B

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