Function dioxus_material::TextButton
source · pub fn TextButton<'a>(cx: Scope<'a, TextButtonProps<'a>>) -> Element<'a>
Expand description
Props
For details, see the props struct definition.
onpress
:EventHandler<'a, Event<MouseData>>
Handler for button press events.
children
:Element<'a>
Label child element.
border_radius
:Option<&'a str>
Border radiusof the container (optional).
color
:Option<&'a str>
Text color (optional).
height
:Option<&'a str>
Height of the container (optional).