Skip to content

Commit

Permalink
webkit
Browse files Browse the repository at this point in the history
  • Loading branch information
danielzhe committed Aug 2, 2024
1 parent 33de8ea commit 2db60f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const generateEmptyDmn15 = () => `<?xml version="1.0" encoding="UTF-8"?>

const initialModel = generateEmptyDmn15();

function GoCrazy(args: DmnEditorProps) {
function EmptyStoryWithIncludedModels(args: DmnEditorProps) {
const [state, setState] = useState<{
marshaller: DmnMarshaller;
stack: Normalized<DmnLatestModel>[];
Expand Down Expand Up @@ -117,10 +117,10 @@ const meta: Meta<DmnEditorProps> = {
};

export default meta;
type Story = StoryObj<typeof GoCrazy>;
type Story = StoryObj<typeof EmptyStoryWithIncludedModels>;

export const EmptyWithAvailableExternalModels: Story = {
render: (args) => GoCrazy(args),
render: (args) => EmptyStoryWithIncludedModels(args),
args: {
model: getMarshaller(initialModel, { upgradeTo: "latest" }).parser.parse(),
originalVersion: "1.5",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2db60f6

Please sign in to comment.