import React, { useState } from 'react' import { Button, Container, Form, FormActionsContainer, Input, Select, Switch, } from '@toptal/picasso' const OPTIONS = [ { value: '1', text: 'Option 1' }, { value: '2', text: 'Option 2' }, ] const Example = () => { const [layoutIsHorizontal, setLayoutIsHorizontal] = useState(true) return ( setLayoutIsHorizontal(!layoutIsHorizontal)} label='Vertical form layout' />
Select field
) } export default Example