Skip to content

Vizel API / react/src / useVizelIconContext

Function: useVizelIconContext() ​

ts
function useVizelIconContext(): VizelIconContextValue;

Defined in: packages/react/src/components/VizelIconContext.tsx:11

Hook to access custom icon mappings from VizelIconProvider. Returns an empty value if no VizelIconProvider is present (falls back to defaults).

Returns ​

VizelIconContextValue

Released under the MIT License.