MCPcopy Create free account
hub / github.com/DioxusLabs/dioxus-components / ManualComponentInstallation

Function ManualComponentInstallation

preview/src/main.rs:933–948  ·  view source on GitHub ↗
(component: HighlightedCode, style: HighlightedCode)

Source from the content-addressed store, hash-verified

931
932#[component]
933fn ManualComponentInstallation(component: HighlightedCode, style: HighlightedCode) -> Element {
934 rsx! {
935 div { class: "dx-component-manual-copy",
936 p { class: "dx-docs-muted",
937 "Copy the component source and CSS into your app. Import the shared theme CSS once near your app root."
938 }
939 }
940 div { class: "dx-component-manual-code",
941 ComponentCode {
942 rs_highlighted: component,
943 css_highlighted: style,
944 component_type: ComponentType::Normal,
945 }
946 }
947 }
948}
949
950#[component]
951fn ComponentVariantHighlight(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected