react-openqasm-editor
Version:
A powerful, customizable code editor for OpenQASM (Open Quantum Assembly Language) based on Monaco Editor.
22 lines (17 loc) • 647 B
text/typescript
import type { Meta, StoryObj } from '@storybook/react';
import { OpenQASMEditor } from '../../lib/index';
const meta = {
title: 'Example/Editor',
component: OpenQASMEditor,
parameters: {
// Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/configure/story-layout
layout: 'centered',
},
// This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
tags: ['autodocs'],
} satisfies Meta<typeof OpenQASMEditor>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = {
args: {},
};