Merge pull request #17286 from rasmustnilsson/patch-1

Fix example syntax by adding missing `=`
This commit is contained in:
Michael Shilman 2022-01-20 18:27:18 +08:00 committed by GitHub
commit 44cc36d417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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