DS Provider
Installation
pnpm add @corew500/uiUsage
import { DSProvider } from "@corew500/ui/ds-provider"
<DSProvider>Content</DSProvider>API Reference
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| linkComponent | enum | a | Link component for navigation. Defaults to `<a>`. |
| imageComponent | enum | img | Image component for optimized images. Defaults to `<img>`. |
| iconResolver | (name: string) => ComponentType<{ className?: string; }> | — | Icon resolver function. Maps string names to icon components. |
Accessibility
Additional
- - No DOM output of its own; purely a context provider
Localization
Translatable Content
- - No translatable strings