@neo4j-ndl/react
Version:
React implementation of Neo4j Design System
133 lines (132 loc) • 3.62 kB
JavaScript
/**
*
* Copyright (c) "Neo4j"
* Neo4j Sweden AB [http://neo4j.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FullExample = exports.Lists = exports.Headings = exports.CodeExamples = exports.AllComponents = exports.Streaming = exports.Default = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const Response_1 = require("../Response");
const index_1 = require("./index");
const meta = {
component: Response_1.Response,
id: 'components-ai-response',
parameters: {
controls: { disable: true },
},
tags: ['docsPage'],
title: 'Components/AI/Response',
};
exports.default = meta;
exports.Default = {
args: {},
parameters: {
docs: {
source: {
code: index_1.ResponseDefaultSource,
language: 'tsx',
type: 'code',
},
},
},
render: index_1.ResponseDefault,
};
exports.Streaming = {
args: {},
parameters: {
chromatic: { disableSnapshot: true },
docs: {
source: {
code: index_1.ResponseStreamingSource,
language: 'tsx',
type: 'code',
},
},
},
render: index_1.ResponseStreaming,
};
exports.AllComponents = {
args: {},
parameters: {
docs: {
source: {
code: index_1.ResponseAllComponentsSource,
language: 'tsx',
type: 'code',
},
},
},
render: index_1.ResponseAllComponents,
};
exports.CodeExamples = {
args: {},
parameters: {
docs: {
source: {
code: index_1.ResponseCodeExamplesSource,
language: 'tsx',
type: 'code',
},
},
},
render: index_1.ResponseCodeExamples,
};
exports.Headings = {
args: {},
parameters: {
docs: {
source: {
code: index_1.ResponseHeadingsSource,
language: 'tsx',
type: 'code',
},
},
},
render: index_1.ResponseHeadings,
};
exports.Lists = {
args: {},
parameters: {
docs: {
source: {
code: index_1.ResponseListsSource,
language: 'tsx',
type: 'code',
},
},
},
render: index_1.ResponseLists,
};
exports.FullExample = {
args: {},
decorators: [
(Story) => ((0, jsx_runtime_1.jsx)("div", { className: "n-bg-neutral-bg-default n-p-4", children: (0, jsx_runtime_1.jsx)(Story, {}) })),
],
parameters: {
docs: {
source: {
code: index_1.ResponseFullExampleSource,
language: 'tsx',
type: 'code',
},
},
},
render: index_1.ResponseFullExample,
};
//# sourceMappingURL=response.stories.js.map