import {t} from 'sentry/locale'; import {Rule} from '../types'; import ModalManager from './modalManager'; type ModalManagerProps = ModalManager['props']; type Props = Omit; const Add = ({savedRules, ...props}: Props) => { const handleGetNewRules = ( values: Parameters[0] ) => { return [...savedRules, {...values, id: savedRules.length}] as Array; }; return ( ); }; export default Add;