Click

Click is a low-level component for any clickable element that receives either a

onClick
event or a
href
.

Props

Name
Type
Default
Description
children
node
A JSX node
disabled
bool
Set the Click to disabled
extend
object, func, array
An object containing valid CSS style declarations
href
string, object
Setting an href attribute will force the component to render with an
<a>
tag
noFocusStyle
bool
Prevent the focus style from being applied
onClick
func
An action that is fired on click
type
string
If rendering a button (by not supplying an href), this let's you provide a type attribute for that button

Examples

Disabled