import React from 'react'; import { Input, Dropdown, Button } from 'UI'; import styles from './alertForm.css'; const periodOptions = [ { text: '1 Week', value: 'week', }, { text: '1 Month', value: 'month', }, ]; const AlertForm = ({ alert, write, onSave, loading, onCancel = null, }) => (