Open ozkayas opened 1 year ago
I am trying to set a default device frame, however I can not figure out how to get the device property for the plugin.
Storybook( plugins: [ ThemeModePlugin(initialTheme: ThemeMode.light), DeviceFramePlugin(initialData: ( isFrameVisible: true, device: ???, orientation: Orientation.portrait, )), ], initialStory: calendarStory.name, stories: [...getStories()]);
It should be nice to be added to the Read.me also
Hey, you can use Devices class, e.g.: Devices.ios.iPhone13ProMax.
Devices
Devices.ios.iPhone13ProMax
Yes, good point, I will add it to readme.
I am trying to set a default device frame, however I can not figure out how to get the device property for the plugin.
It should be nice to be added to the Read.me also