```md import { Canvas, Meta, Story } from '@storybook/addon-docs'; import { YourComponent } from './your-component.component'; export const someFunction = (valuePropertyA, valuePropertyB) => { // Makes some computations and returns something }; { const { propertyA, propertyB } = args; const someFunctionResult = someFunction(propertyA, propertyB); return { props: { ...args, someProperty: someFunctionResult, }, }; }} /> ```