(cx: Scope<'a>, children: Element<'a>)
| 93 | |
| 94 | #[inline_props] |
| 95 | fn Code<'a>(cx: Scope<'a>, children: Element<'a>) -> Element<'a> { |
| 96 | cx.render(rsx! { |
| 97 | code { |
| 98 | class: "bg-gray-100 text-gray-900 rounded px-1 py-0.5 font-mono text-sm", |
| 99 | children |
| 100 | } |
| 101 | }) |
| 102 | } |
| 103 | |
| 104 | const fn wasm_or_else<'a, T: ?Sized>(then: &'a T, _else: &'a T) -> &'a T { |
| 105 | if cfg!(target_family = "wasm") { |
nothing calls this directly
no outgoing calls
no test coverage detected