Skip to content
Snippets Groups Projects
Unverified Commit 79c82258 authored by Ygg01's avatar Ygg01
Browse files

Add example

parent 4efba09b
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ use kayak_ui::core::{
styles::{Style, StyleProp, Units},
widget, Index,
};
use kayak_ui::widgets::{App, OnChange, Window, TextBox};
use kayak_ui::widgets::{App, OnChange, Window, TextBox, SpinBox};
#[widget]
fn TextBoxExample() {
......@@ -51,6 +51,7 @@ fn TextBoxExample() {
placeholder={Some("This is a placeholder".to_string())}
/>
<TextBox styles={Some(red_text_styles)} value={red_value} on_change={Some(on_change_red)} />
<SpinBox styles={Some(input_styles)} />
</Window>
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment