orbital-datatable 0.1.1

Interactive DataTable product for the Orbital component library
Documentation
//! Preview registration for DataTable documentation pages and fixtures.

use icondata_core::Icon;
use leptos::prelude::*;

#[cfg(all(feature = "preview", not(target_arch = "wasm32")))]
inventory::collect!(PreviewRegistration);

/// Static metadata for a generated primitive preview page.
pub struct PreviewRegistration {
    pub slug: &'static str,
    pub label: &'static str,
    pub section: &'static str,
    pub section_priority: u16,
    pub category: &'static str,
    pub category_priority: u16,
    pub category_default_collapsed: bool,
    pub group: &'static str,
    pub group_priority: u16,
    pub nav_item: bool,
    pub icon: Icon,
    pub render: fn() -> AnyView,
}

pub mod fixtures;
pub mod static_registrations;

pub use orbital_core_components::preview::{ComponentPreviewCard, OrbitalComponentView};