Skip to content

Commit

Permalink
QOLSVC-7220 Add storybook - temp story for compile, testing deploymen…
Browse files Browse the repository at this point in the history
…t more than storybook
  • Loading branch information
duttonw committed Aug 20, 2024
1 parent 7e80b50 commit 2abdead
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/accordion/stories/accordion.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@

import defaultdata from "./accordion.data.json";
import template from "./../html/component.hbs?raw";
import Handlebars from "handlebars";

function compile(args) {
return Handlebars.compile(template)(args)
}

export default {
tags: ["autodocs"],
title: "Components/Accordion",
render: (args) => Handlebars.compile(template, args),
render: (args) => compile(args),
args: defaultdata,

/**
Expand Down

0 comments on commit 2abdead

Please sign in to comment.