RadioGroup.Button

  • Web
  • Native

Reference

<RadioGroup.Button /> creates a button instead of a radio default looks, be sure to use <RadioGroup.Button /> as <RadioGroup /> children so it inherit default spacing, border and color pallete tokens.

Usage

import { RadioGroup } from '@gympass/yoga';

Props

PropDescriptionTypeDefaultRequired
namestringfalse
onChangefunc() => {}false
selectedValueunionfalse
smallboolfalsefalse
fullboolfalsefalse
childrennodenullfalse
styleshape{}false