```md import { Canvas, Meta, Story } from '@storybook/addon-docs'; import { YourComponent } from './your-component'; export const someFunction = (valuePropertyA, valuePropertyB) => { // Makes some computations and returns something }; export const Template = ({propertyA,propertyB,...rest})=>{ //👇 Assigns the function result to a variable const someFunctionResult = someFunction(propertyA, propertyB); return ; } {Template.bind({})} ```