/* eslint-disable react/jsx-sort-props */ /** * @flow */ import CustomSize from './examples/CustomSize'; import PropColor from './examples/PropColor'; import PropDisabled from './examples/PropDisabled'; import PropOnValueChange from './examples/PropOnValueChange'; import PropValue from './examples/PropValue'; import React from 'react'; import UIExplorer, { AppText, Code, Description, DocItem, Section, storiesOf } from '../../ui-explorer'; const CheckBoxScreen = () => ( This is a controlled component that requires an onValueChange callback that updates the value prop in order for the component to reflect user actions. If the{' '} value prop is not updated, the component will continue to render the supplied{' '} value prop instead of the expected result of any user actions.
}} label="web" name="color" typeInfo="?color" /> }} name="disabled" typeInfo="?boolean = false" /> }} name="onValueChange" typeInfo="?function" /> }} name="value" typeInfo="?boolean = false" />
', render: () => }} name="Custom size" />
); storiesOf('Components', module).add('CheckBox', CheckBoxScreen);