```js // Button.stories.js | Button.stories.jsx | Button.stories.ts | Button.stories.tsx import { Button } from './button'; import { ArrowUp, ArrowDown, ArrowLeft, ArrowRight } from './icons'; const arrows = { ArrowUp, ArrowDown, ArrowLeft, ArrowRight }; export default { component: Button, title: 'Button', argTypes: { arrow: { options: Object.keys(arrows), // An array of serializable values mapping: arrows, // Maps serializable option values to complex arg values control: { type: 'select', // Type 'select' is automatically inferred when 'options' is defined labels: { // 'labels' maps option values to string labels ArrowUp: 'Up', ArrowDown: 'Down', ArrowLeft: 'Left', ArrowRight: 'Right', } } }, }, }; ```