Client side settings can now be specified.
Here we use a context provider on the app itself to handle passing the settings to our library. This way even the layout can use them.
This commit is contained in:
@ -82,7 +82,12 @@ pub fn Story(text: String) -> Element
|
||||
{
|
||||
rsx!
|
||||
{
|
||||
div { dangerous_inner_html: "{text}" }
|
||||
div
|
||||
{
|
||||
class: "blog_post_tale",
|
||||
|
||||
dangerous_inner_html: "{text}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user