IconPicker

IconPicker const

IconPicker: ComponentType<PropsWithChildren<WithIntlProps<IconPickerProps>>> = ...

The Icon Picker is used to select an icon from a predefined icon library.

Example:

   
1
2
3
import { IconPicker } from 'jimu-ui/advanced/resource-selector';
const sampleIcon = require('jimu-ui/lib/icons/widget.svg');
<IconPicker icon={{svg: sampleIcon, properties: {filename: 'widget.svg'}}} />

Props:

See IconPickerProps for more details.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.