fix most typos, add crate-ci/typos to CI (#2653)
* fix most typos, add crate-ci/typos to CI --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
1 parent
841b447d2a
commit
9167cd9dec
83 files changed
+258
-203
No files matched your search
@@ -14,14 +14,14 @@ fn app() -> Element {
|
||||
rsx! {
|
||||
div {
|
||||
h1 { "Web Components" }
|
||||
CoolWebComponet { my_prop: "Hello, world!".to_string() }
|
||||
CoolWebComponent { my_prop: "Hello, world!".to_string() }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// A web-component wrapped with a strongly typed interface using a component
|
||||
#[component]
|
||||
fn CoolWebComponet(my_prop: String) -> Element {
|
||||
fn CoolWebComponent(my_prop: String) -> Element {
|
||||
rsx! {
|
||||
// rsx! takes a webcomponent as long as its tag name is separated with dashes
|
||||
web-component {
|
||||
|
||||
Reference in new issue
Block a user