Files
blitzkit/src/app/tools/tankopedia/[id]/components/Model/HistoricalSection.tsx
T

16 lines
467 B
TypeScript
Raw Normal View History

2024-05-03 19:03:25 -05:00
import { Heading, Text } from '@radix-ui/themes';
import PageWrapper from '../../../../../../components/PageWrapper';
import { useDuel } from '../../../../../../stores/duel';
export function HistoricalSection() {
const tank = useDuel((state) => state.protagonist!.tank);
if (!tank.description) return null;
return (
2024-05-04 16:39:41 -05:00
<PageWrapper noFlex1>
2024-05-03 19:03:25 -05:00
<Heading>History of the {tank.name}</Heading>
<Text>{tank.description}</Text>
</PageWrapper>
);
}