import type { FC, ReactNode } from 'react'; import { Typography } from '@mui/material'; import { Badge } from 'component/common/Badge/Badge'; import { Action, ChangeItemInfo, ChangeItemWrapper } from './Change.styles'; interface IToggleStatusChange { enabled: boolean; actions?: ReactNode; isDefaultChange?: boolean; } const StatusWillChange = () => ( Feature status will change ); export const ToggleStatusChange: FC = ({ enabled, actions, isDefaultChange, }) => { return ( New status {enabled ? ' Enabled' : 'Disabled'} {isDefaultChange ? : null} {actions} ); };