Skip to content

Mootook/sb-file-argtype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sb-file-argtype

Project Setup

yarn install

yarn storybook

Steps to Reproduce

  • Run storybook server (yarn storybook)
  • Navigate to button story
  • Open browser dev console.
  • Notice 'file' control in the controls tab.
  • Uplload any accepted file.
  • In the watcher, notice, the file cannot be captured.
  • However, you can log the file as a property of args.

The use case here is for a component that determines internal logic based on an uploaded file. The watcher can fetch and convert the localized url object into a blob but this is not currently possible with the inability to watch for an uploaded file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published