ui-storybook / sb

Esiest way to develop, review and keep UI elements consistent and documented.
https://git.io/vP9rq
MIT License
242 stars 17 forks source link

Create Mock api for stories #14

Closed freeman14 closed 7 years ago

freeman14 commented 7 years ago

Create sb.mock method that will take name and object and store mock. Then path name of mock to .add method to use predefined mock.

Also add ability to load mock with http with sb.loadMock. .loadMock should take name and url and store returned data.