feat: Add Layout with AppBar and Drawer

This commit is contained in:
Ali BARIN
2021-10-05 20:35:13 +02:00
parent f032dea77e
commit 3f56da5efb
11 changed files with 262 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
import { useIntl } from 'react-intl';
type Values = {
[key: string]: any,
}
export default function useFormatMessage() {
const { formatMessage } = useIntl();
return (id: string, values: Values = {}) => formatMessage({ id }, values);
}