GridIconProvider
Since v0.1.0
Provides application-wide icon overrides for all descendant grids.
Wrap your application (or part of it) with this provider to customize icons used by all TbwGrid components.
const GridIconProvider: DefineComponent<ExtractPropTypes<{ icons: { type: PropType<Partial<GridIcons>>; required: true } }>, () => VNode<RendererNode, RendererElement, object>[] | undefined, object, object, object, ComponentOptionsMixin, ComponentOptionsMixin, object, string, PublicProps, ToResolvedProps<ExtractPropTypes<{ icons: { type: PropType<Partial<GridIcons>>; required: true } }>, object>, object, object, object, object, string, ComponentProvideOptions, true, object, any>Example
Section titled “Example”<script setup>import { GridIconProvider } from '@toolbox-web/grid-vue';
const icons = { sortAsc: '↑', sortDesc: '↓', expand: '+', collapse: '−',};</script>
<template> <GridIconProvider :icons="icons"> <App /> </GridIconProvider></template>AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt