Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React from 'react';
import { Tags } from 'grommet-controls';
import doc from 'grommet-controls/components/Tags/doc';
import Doc from '../../components/Doc';
const desc = doc(Tags).toJSON();
export default () => (
);
import { Tags } from 'grommet-controls';
import doc from 'grommet-controls/components/Tags/doc';
import Doc from '../components/Doc';
const desc = doc(Tags).toJSON();
const stringOptions = ['small', 'medium', 'large', 'xlarge', 'huge'];
export default class TagsDoc extends React.Component {
state = { selected: [stringOptions[0]] }
render() {
const { selected } = this.state;
return (