Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
Raw History Blame Contribute Delete
516 Bytes
import FormRadiosBar from 'calypso/components/forms/form-radios-bar';
import {
radios,
radiosWithThumbnails,
} from 'calypso/components/forms/form-radios-bar/docs/fixtures';
const FormRadiosBarExample = ( { isThumbnail, checked, onChange } ) => {
return (
<FormRadiosBar
isThumbnail={ isThumbnail }
checked={ checked }
onChange={ onChange }
items={ isThumbnail ? radiosWithThumbnails : radios }
/>
);
};
FormRadiosBarExample.displayName = 'FormRadiosBar';
export default FormRadiosBarExample;