Historia del enrutador react no definida

import { createHashHistory } from 'history';

const history = createHashHistory();
Mohamed Awde