@neynar/ui
Version:
React UI component library built on shadcn/ui and Tailwind CSS
28 lines (20 loc) • 648 B
Markdown
# ChartStyle
**Type**: component
Internal component that generates CSS custom properties for chart colors Creates CSS variables based on the chart configuration to enable theme-aware coloring. Generates variables for both light and dark themes when theme configurations are provided, or uses static colors when available.
## JSX Usage
```jsx
import { ChartStyle } from '@neynar/ui';
<ChartStyle
id={value}
config={value}
/>
```
## Component Props
### id
- **Type**: `unknown`
- **Required**: Yes
- **Description**: No description available
### config
- **Type**: `unknown`
- **Required**: Yes
- **Description**: No description available