Skip to content

Commit

Permalink
Move the UI component
Browse files Browse the repository at this point in the history
  • Loading branch information
cdedreuille committed May 15, 2024
1 parent 45f72ef commit d5795c1
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 379 deletions.
2 changes: 2 additions & 0 deletions apps/frontpage/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ const config: StorybookConfig = {
stories: [
'../stories/**/*.mdx',
'../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)',
'../components/**/*.mdx',
'../components/**/*.stories.@(js|jsx|mjs|ts|tsx)',
],
addons: [
getAbsolutePath('@storybook/addon-onboarding'),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import type { Meta, StoryObj } from '@storybook/react';
import { CodeSnippetsClient } from './client';

const meta = {
title: 'CodeSnippets',
component: CodeSnippetsClient,
} satisfies Meta<typeof CodeSnippetsClient>;

export default meta;
type Story = StoryObj<typeof meta>;

export const Primary: Story = {
render: () => <div>Hello world</div>,
};
27 changes: 0 additions & 27 deletions packages/ui/src/code-snippets/copy.tsx

This file was deleted.

53 changes: 0 additions & 53 deletions packages/ui/src/code-snippets/dropdown.tsx

This file was deleted.

67 changes: 0 additions & 67 deletions packages/ui/src/code-snippets/get-active-content.ts

This file was deleted.

37 changes: 0 additions & 37 deletions packages/ui/src/code-snippets/get-filters.ts

This file was deleted.

82 changes: 0 additions & 82 deletions packages/ui/src/code-snippets/icons.tsx

This file was deleted.

82 changes: 0 additions & 82 deletions packages/ui/src/code-snippets/index.tsx

This file was deleted.

Loading

0 comments on commit d5795c1

Please sign in to comment.