export function buildSdcStoriesTemplate(camelName, filename, snakeName, humanName, directory) {
    return `import ${camelName}Twig from './${filename}.twig';
import { props } from './${filename}.component.yml';
import './${filename}';

const ${camelName}Data = props.properties;

/**
 * Storybook Definition.
 */
export default { 
  title: '${directory[0].toUpperCase() + directory.slice(1)}/${humanName}',
  args: {
    heading: ${camelName}Data.${snakeName}__heading.data,
    content: ${camelName}Data.${snakeName}__content.data,
  },
};

export const ${camelName} = ({ heading, content }) => 
  ${camelName}Twig({
    ${snakeName}__heading: heading,
    ${snakeName}__content: content,
  });
`;
}
