Skip to content

Commit

Permalink
test: lead core component example
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrosantayana committed Mar 17, 2023
1 parent 02d1215 commit cfd6658
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/basics/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,11 @@ impl Component for Model {
<Display size={DisplaySize::Five}>{"Display 5"}</Display>
<Display size={DisplaySize::Six}>{"Display 6"}</Display>

<h1>{"Lead paragraph"}</h1>
<Lead>
{"This is a lead paragraph. It stands out from regular paragraphs."}
</Lead>

<h1>{"Modals"}</h1>
<Button style={Color::Primary} modal_target={"ExampleModal"}>{"Open Modal"}</Button>

Expand Down

0 comments on commit cfd6658

Please sign in to comment.