mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-31 05:03:21 +08:00
Merge pull request #17286 from rasmustnilsson/patch-1
Fix example syntax by adding missing `=`
This commit is contained in:
commit
44cc36d417
@ -29,7 +29,7 @@ const someFunction = (valuePropertyA: String, valuePropertyB: String) => {
|
||||
// Makes some computations and returns something
|
||||
};
|
||||
|
||||
const Template: Story (args) => {
|
||||
const Template: Story = (args) => {
|
||||
const { propertyA, propertyB } = args;
|
||||
|
||||
//👇 Assigns the function result to a variable
|
||||
|
Loading…
x
Reference in New Issue
Block a user