<html.button>
The <html.button>
component lets you render an interactive element.
Overview
To display an interactive element that responds to pointer and keyboard interactions, render the <html.button>
component.
import { html } from 'react-strict-dom';
const Foo = () => <html.button onClick={() => {}} />
Props
- ...Common props
disabled
type
- Default isbutton
.