- Module connectivity-view: types, useConnectivityView, WebDAV, Webhooks, Skeleton, orchestrator ConnectivityView - Re-export from ConnectivityView.tsx - Stories: Default, Loading (Skeleton); decorator min-h-layout-page - Fix: text-[10px] -> text-xs (Mount Password hint) Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
613 B
TypeScript
24 lines
613 B
TypeScript
import type { Meta, StoryObj } from '@storybook/react';
|
|
import { ConnectivityView, ConnectivityViewSkeleton } from './connectivity-view';
|
|
|
|
const meta: Meta<typeof ConnectivityView> = {
|
|
title: 'Components/Features/Studio/ConnectivityView',
|
|
component: ConnectivityView,
|
|
tags: ['autodocs'],
|
|
decorators: [
|
|
(Story) => (
|
|
<div className="bg-kodo-background min-h-layout-page p-4">
|
|
<Story />
|
|
</div>
|
|
),
|
|
],
|
|
};
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof meta>;
|
|
|
|
export const Default: Story = {};
|
|
|
|
export const Loading: Story = {
|
|
render: () => <ConnectivityViewSkeleton />,
|
|
};
|