Usage

import { TextButton, SvgSearch } from '@loomhq/lens'
<TextButton icon={<SvgSearch />}>Search</TextButton>

Sizes

With icon

See the Icon set.

Icon position

Without icon

Disabled

Props

prop
type
default
size
oneOf: "small", "medium"
'medium'
iconPosition
oneOf: 'left', 'right'
'left'
htmlTag
oneOf: 'button', 'a'
'button'
onClick
func
isDisabled
bool
icon
node
children
node
required