Skip to content

Commit

Permalink
Put images in a folder
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel committed Nov 16, 2024
1 parent 40e5c23 commit 91ca75f
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/docs/creating-stories/controls.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ The Story creates the element and passes in controls through the `props` argumen

Opening the `ReactButtonControls` Story in flipbook will include an accompanying panel for configuring the controls.

![Story preview for `ReactButtonControls` showing the Controls panel](./button-with-controls.png)
![Story preview for `ReactButtonControls` showing the Controls panel](./img/button-with-controls.png)

As controls are modified the Story will live-reload with the new props.

![Story preview for `ReactButtonControls` showing modifications made to the controls](./button-with-controls-changed.png)
![Story preview for `ReactButtonControls` showing modifications made to the controls](./img/button-with-controls-changed.png)
File renamed without changes
4 changes: 2 additions & 2 deletions docs/docs/creating-stories/writing-stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ And here's an example of a Story that renders a TextButton:

In the flipbook plugin, opening the Button story will render out the component.

![Rendering the Button story in flipbook's UI](./first-story.png)
![Rendering the Button story in flipbook's UI](./img/first-story.png)

From there, making changing to the Story will live-reload the rendered button.

To connect it back to Studio, these files could simply be stored in ReplicatedStorage as ModuleScripts like so:
![Screenshot of Studio showing the hierarchy of ReplicatedStorage](./storybook-setup.png)
![Screenshot of Studio showing the hierarchy of ReplicatedStorage](./img/storybook-setup.png)

## Using frameworks

Expand Down

0 comments on commit 91ca75f

Please sign in to comment.