I have interface specified:
interface Props{
   type: 'dog' | 'cat' | 'mouse' | 'turtle' | 'rabbit'
}
export default Props;
In reality that list of all allowed string values is quite long. Is it possible to populate my story in Storybook based on Props?
I tried doing this:
import React, {ReactElement} from 'react';
import Props from '../typings';
export default {
  title: 'Animals',
  component: Animal,
  argTypes: {
    type: {
      control: {
        type: 'select',
        options: [...Props.type],
      },
    },
  },
};