Skip to main content

OrbitalComponentView

Function OrbitalComponentView 

Source
pub fn OrbitalComponentView<IV>(
    props: OrbitalComponentViewProps<IV>,
) -> impl IntoView
where IV: IntoView + 'static,
Expand description

§Required Props

  • component_name: [&'static str]
  • default: [IV]

§Optional Props

  • component_description: [&'static str]
  • component_description_md: [&'static str]
  • component_props: [&'static [ComponentPropDoc]]
  • component_best_practices: [&'static str]
  • component_best_practices_md: [&'static str]
  • default_code: [impl Into<MaybeProp<&'static str>>](MaybeProp<&’static str>)
  • default_example_title: [impl Into<MaybeProp<&'static str>>](MaybeProp<&’static str>)
  • default_description: [impl Into<MaybeProp<&'static str>>](MaybeProp<&’static str>)
  • default_example_id: [impl Into<MaybeProp<&'static str>>](MaybeProp<&’static str>)
    • DOM id for the default example anchor target (e.g. example-default-stub).
  • example_anchors: [&'static [(&'static str, &'static str)]]
    • (title, slug) pairs for the in-page example aside rail.
  • children: Children