@beluga-icon/core
v0.1.1
Published
Shared types and utilities for Beluga Icon
Maintainers
Readme
@beluga-icon/core
Shared types and utilities for the Beluga Icon library.
This package is not intended for direct installation. It is an internal dependency used by
@beluga-icon/reactand future framework adapters.
What's in here
Types
| Export | Description |
| ------------------ | --------------------------------------------------------- |
| IconSize | 'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| '2xl' \| number |
| IconStyleType | Union of all 21 built-in style preset names |
| IconBaseProps | Base props shared across all framework adapters |
| IconMeta | Metadata embedded in every generated icon module |
| AnimationTrigger | 'auto' \| 'hover' \| 'click' \| 'visible' |
Utilities
| Export | Description |
| ------------- | ------------------------------------------ |
| resolveSize | Resolves an IconSize to a pixel number |
License
MIT
