Skip to main content

<html.option>

The <html.option> component lets you define an item within <html.select>.

Overview

To display an item within <html.select>, render the <html.option> component.

import { html } from 'react-strict-dom';

const Foo = () => (
<html.select>
<html.option>Red</html.option>
</html.select>
);

Props