@neo4j-ndl/react
Version:
React implementation of Neo4j Design System
135 lines (134 loc) • 3.52 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/>.
*/
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Tone = exports.Sizes = exports.Loading = exports.Floating = exports.Disabled = exports.Active = exports.Default = void 0;
const __1 = require("..");
const _1 = require(".");
const componentMeta = {
component: __1.IconButton,
id: 'components-icon-button',
parameters: {
controls: { disable: true },
},
tags: ['docsPage'],
title: 'Components/IconButton',
};
exports.default = componentMeta;
exports.Default = {
// @ts-expect-error - args are not needed.
args: {},
parameters: {
docs: {
source: {
code: _1.IconButtonDefaultSrc,
language: 'tsx',
type: 'code',
},
},
},
render: _1.IconButtonDefault,
};
exports.Active = {
// @ts-expect-error - args are not needed.
args: {},
render: _1.IconButtonActive,
parameters: {
docs: {
source: {
language: 'tsx',
type: 'code',
code: _1.IconButtonActiveSrc,
},
},
},
};
exports.Disabled = {
// @ts-expect-error - args are not needed.
args: {},
render: _1.IconButtonDisabled,
parameters: {
docs: {
source: {
language: 'tsx',
type: 'code',
code: _1.IconButtonDisabledSrc,
},
},
},
};
exports.Floating = {
// @ts-expect-error - args are not needed.
args: {},
render: _1.IconButtonFloating,
parameters: {
docs: {
source: {
language: 'tsx',
type: 'code',
code: _1.IconButtonFloatingSrc,
},
},
},
};
exports.Loading = {
// @ts-expect-error - args are not needed.
args: {},
render: _1.IconButtonLoading,
parameters: {
docs: {
source: {
language: 'tsx',
type: 'code',
code: _1.IconButtonLoadingSrc,
},
},
},
};
exports.Sizes = {
// @ts-expect-error - args are not needed.
args: {},
render: _1.IconButtonSizes,
parameters: {
docs: {
source: {
language: 'tsx',
type: 'code',
code: _1.IconButtonSizesSrc,
},
},
},
};
exports.Tone = {
// @ts-expect-error - args are not needed.
args: {},
render: _1.IconButtonTone,
parameters: {
docs: {
source: {
language: 'tsx',
type: 'code',
code: _1.IconButtonToneSrc,
},
},
},
};
//# sourceMappingURL=icon-button.stories.js.map