Function freya_components::SelectableText

source ·
pub fn SelectableText(_: SelectableTextProps) -> Element
Expand description

Text that can be selected with a mouse or keyboard.

§Example

fn app() -> Element {
    rsx!(SelectableText {
        value: "You can select this looooooooooong text"
    })
}

§Props

For details, see the props struct definition.

  • value : ReadOnlySignal<String>