beet_design 0.0.8

Design system and components for beet rsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::prelude::*;

pub fn get() -> impl IntoHtml {
	rsx! {
		<div>
			<ErrorText value=Some("this is an error".to_string()) />
			<div>below is an empty error</div>
			<ErrorText value=None></ErrorText>
			<div>that was an empty error</div>
		</div>
		// div{
		// display:flex;
		<style>// }
		</style>
	}
}