Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TechnologyBadgeコンポーネントの移動 #362

Merged
merged 3 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed src/components/domain/.gitkeep
Empty file.
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
import { TechnologyBadge as CaseTechnologyBadge } from '.';
import { TechnologyBadge as DomainTechnologyBadge } from '.';

import type { Meta, StoryObj } from '@storybook/react';

const meta: Meta<typeof CaseTechnologyBadge> = {
title: 'Case/TechnologyBadge',
component: CaseTechnologyBadge,
const meta: Meta<typeof DomainTechnologyBadge> = {
title: 'Domain/TechnologyBadge',
component: DomainTechnologyBadge,
};
export default meta;

type Story = StoryObj<typeof CaseTechnologyBadge>;
type Story = StoryObj<typeof DomainTechnologyBadge>;
export const TechnologyBadge: Story = {
render: () => (
<dl>
<dt style={{ color: 'white', marginBottom: '8px' }}>label=&quot;expo&quot;</dt>
<dd style={{ marginBottom: '24px' }}>
<CaseTechnologyBadge label="expo" />
<DomainTechnologyBadge label="expo" />
</dd>
<dt style={{ color: 'white', marginBottom: '8px' }}>label=&quot;fastApi&quot;</dt>
<dd style={{ marginBottom: '24px' }}>
<CaseTechnologyBadge label="fastApi" />
<DomainTechnologyBadge label="fastApi" />
</dd>
</dl>
),
Expand Down