Files
feishin/src/renderer/features/action-required/components/action-required-container.tsx
T
2025-12-09 19:58:24 -08:00

22 lines
648 B
TypeScript

import { ReactNode } from 'react';
import { Group } from '/@/shared/components/group/group';
import { Stack } from '/@/shared/components/stack/stack';
import { Text } from '/@/shared/components/text/text';
interface ActionRequiredContainerProps {
children: ReactNode;
title: string;
}
export const ActionRequiredContainer = ({ children, title }: ActionRequiredContainerProps) => (
<Stack style={{ cursor: 'default', maxWidth: '700px' }}>
<Group>
<Text size="xl" style={{ textTransform: 'uppercase' }}>
{title}
</Text>
</Group>
<Stack>{children}</Stack>
</Stack>
);