Function freya_components::Tile 
source · pub fn Tile(_: TileProps) -> ElementExpand description
Tile component to be used with Radio and Checkbox.
§Styling
Inherits the TileTheme theme.
§Example
§Props
For details, see the props struct definition.
children:ElementInner children for the Tile.
leading:Option<Element>Optional element to be placed before the inner children of the Tile. Such as a
Radioonselect:Option<EventHandler<()>>Event handler for when the Tile is selected, e.g when clicking on it.
theme:Option<TileThemeWith>Theme override.