import { Meta } from "@storybook/addon-docs";
Optionally customise value renderer view by passing valueRenderer
prop
const customValueRenderer = (selected, _options) => {
return selected.length
? selected.map(({ label }) => "✔️ " + label)
: "😶 No Items Selected";
};