Rename test components
This commit is contained in:
parent
1186d5e13e
commit
640c64f5e8
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
use yew::{function_component, Html, html};
|
use yew::{function_component, Html, html};
|
||||||
|
|
||||||
#[function_component]
|
#[function_component(Test)]
|
||||||
pub fn Test() -> Html {
|
pub fn test() -> Html {
|
||||||
html! {
|
html! {
|
||||||
<div class="bg-red-500">
|
<div class="bg-red-500">
|
||||||
<h1>{"Test component"}</h1>
|
<h1>{"Test component"}</h1>
|
||||||
|
|
Loading…
Reference in a new issue