import type React from 'react'; import type { FC } from 'react'; import { Link as RouterLink } from 'react-router-dom'; import { Box, Card, Typography, Link } from '@mui/material'; import { ConflictWarning } from './Change/ConflictWarning.tsx'; interface IFeatureToggleChanges { featureName: string; projectId: string; conflict?: string; onNavigate?: () => void; children?: React.ReactNode; } export const FeatureToggleChanges: FC = ({ featureName, projectId, conflict, onNavigate, children, }) => ( ({ marginTop: theme.spacing(2), overflow: 'hidden', })} > ({ backgroundColor: conflict ? theme.palette.neutral.light : theme.palette.neutral.light, borderRadius: (theme) => `${theme.shape.borderRadiusLarge}px ${theme.shape.borderRadiusLarge}px 0 0`, border: '1px solid', borderColor: (theme) => conflict ? theme.palette.warning.border : theme.palette.divider, borderBottom: 'none', overflow: 'hidden', })} > Feature flag name: {featureName} {children} );