hikari-components 0.2.2

Core UI components (40+) for the Hikari design system
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[cfg(test)]
mod tests {

use super::*;
use crate::styled::StyledComponent;

    #[test]
    fn test_background_component_name() {
        assert_eq!(BackgroundComponent::name(), "background");
    }

    #[test]
    fn test_background_styles_loaded() {
        let styles = BackgroundComponent::styles();
        assert!(!styles.is_empty());
    }
}