Skip to content

Commit

Permalink
Merge pull request #132 from /issues/129
Browse files Browse the repository at this point in the history
member詳細画面のPercentageViewの作成
  • Loading branch information
nrak126 authored Sep 3, 2024
2 parents 4ddb87f + ed5b77c commit babbb60
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/components/member/PercentageView.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { Box, Flex, Text } from "@radix-ui/themes";
import { ReactElement } from "react";

Check failure on line 2 in src/components/member/PercentageView.tsx

View workflow job for this annotation

GitHub Actions / build

All imports in the declaration are only used as types. Use `import type`

export function PercentageView({ percent }: { percent: number }): ReactElement {
return (
<Box width="100%">
<Flex direction="column" gap="1">
<Text size="5" align="center">

Check warning on line 8 in src/components/member/PercentageView.tsx

View workflow job for this annotation

GitHub Actions / build

Props should be sorted alphabetically
実績解除率
</Text>
<Text size="9" align="center">

Check warning on line 11 in src/components/member/PercentageView.tsx

View workflow job for this annotation

GitHub Actions / build

Props should be sorted alphabetically
{percent}%
</Text>
</Flex>
</Box>
);
}

0 comments on commit babbb60

Please sign in to comment.