feat: group stories in different categories

This commit is contained in:
Demenech 2024-04-09 15:36:48 -03:00
parent cda3d335f1
commit 8b292a9bf2
12 changed files with 12 additions and 12 deletions

View File

@ -4,7 +4,7 @@ import { Excel, ExcelProps } from '../src/components/Excel';
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
const meta: Meta = {
title: 'Components/Excel',
title: 'Components/Tabular/Excel',
component: Excel,
tags: ['autodocs'],
argTypes: {

View File

@ -4,7 +4,7 @@ import { FlatUiTable, FlatUiTableProps } from '../src/components/FlatUiTable';
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
const meta: Meta = {
title: 'Components/FlatUiTable',
title: 'Components/Tabular/FlatUiTable',
component: FlatUiTable,
tags: ['autodocs'],
argTypes: {

View File

@ -3,7 +3,7 @@ import { type Meta, type StoryObj } from '@storybook/react';
import { Iframe, IframeProps } from '../src/components/Iframe';
const meta: Meta = {
title: 'Components/Iframe',
title: 'Components/Embedding/Iframe',
component: Iframe,
tags: ['autodocs'],
argTypes: {

View File

@ -4,7 +4,7 @@ import { LineChart, LineChartProps } from '../src/components/LineChart';
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
const meta: Meta = {
title: 'Components/LineChart',
title: 'Components/Charts/LineChart',
component: LineChart,
tags: ['autodocs'],
argTypes: {

View File

@ -4,7 +4,7 @@ import { Map, MapProps } from '../src/components/Map';
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
const meta: Meta = {
title: 'Components/Map',
title: 'Components/Geospatial/Map',
component: Map,
tags: ['autodocs'],
argTypes: {

View File

@ -3,7 +3,7 @@ import type { Meta, StoryObj } from '@storybook/react';
import { PdfViewer, PdfViewerProps } from '../src/components/PdfViewer';
const meta: Meta = {
title: 'Components/PdfViewer',
title: 'Components/Embedding/PdfViewer',
component: PdfViewer,
tags: ['autodocs'],
argTypes: {

View File

@ -4,7 +4,7 @@ import { Plotly } from '../src/components/Plotly';
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
const meta: Meta = {
title: 'Components/Plotly',
title: 'Components/Charts/Plotly',
component: Plotly,
tags: ['autodocs'],
};

View File

@ -7,7 +7,7 @@ import {
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
const meta: Meta = {
title: 'Components/PlotlyBarChart',
title: 'Components/Charts/PlotlyBarChart',
component: PlotlyBarChart,
tags: ['autodocs'],
argTypes: {

View File

@ -4,7 +4,7 @@ import { PlotlyLineChart, PlotlyLineChartProps } from '../src/components/PlotlyL
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
const meta: Meta = {
title: 'Components/PlotlyLineChart',
title: 'Components/Charts/PlotlyLineChart',
component: PlotlyLineChart,
tags: ['autodocs'],
argTypes: {

View File

@ -4,7 +4,7 @@ import { Table, TableProps } from '../src/components/Table';
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
const meta: Meta = {
title: 'Components/Table',
title: 'Components/Tabular/Table',
component: Table,
tags: ['autodocs'],
argTypes: {

View File

@ -4,7 +4,7 @@ import { Vega } from '../src/components/Vega';
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
const meta: Meta = {
title: 'Components/Vega',
title: 'Components/Charts/Vega',
component: Vega,
tags: ['autodocs'],
};

View File

@ -4,7 +4,7 @@ import { VegaLite } from '../src/components/VegaLite';
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
const meta: Meta = {
title: 'Components/VegaLite',
title: 'Components/Charts/VegaLite',
component: VegaLite,
tags: ['autodocs'],
argTypes: {