Module props

Source
Expand description

This module provides convenience methods for building React props for JS consumption.

Structs§

DangerousHtml
To be used with H::dangerously_set_inner_html().
H
The component builder that powers h!, which provides convenience methods for adding props.
Props
A convenience builder for JS objects. Mainly used for constructing props that are not controlled by Rust.
Style
A convenience wrapper around Props that provides auto-completion for style-related properties.

Traits§

Classnames
A trait for types to be used in classnames!.
HType
A marker trait for the component type that H is supposed to build.