aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/theme/components.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-23 08:10:14 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-23 08:10:14 -0700
commit145fd060b544ea7886c5b6b11b24fb3da9b93127 (patch)
tree4e0cef7a4467c6562949e5a0f14450b0bc4c4ffa /modern/src/common/theme/components.js
parentc40ef7ad640d595167dd0a3abab34f4c6a690764 (diff)
downloadtrackermap-web-145fd060b544ea7886c5b6b11b24fb3da9b93127.tar.gz
trackermap-web-145fd060b544ea7886c5b6b11b24fb3da9b93127.tar.bz2
trackermap-web-145fd060b544ea7886c5b6b11b24fb3da9b93127.zip
Add component defaults
Diffstat (limited to 'modern/src/common/theme/components.js')
-rw-r--r--modern/src/common/theme/components.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/modern/src/common/theme/components.js b/modern/src/common/theme/components.js
new file mode 100644
index 00000000..f5f3acaa
--- /dev/null
+++ b/modern/src/common/theme/components.js
@@ -0,0 +1,15 @@
+export default {
+ MuiFormControl: {
+ defaultProps: {
+ size: 'small',
+ },
+ },
+ MuiSnackbar: {
+ defaultProps: {
+ anchorOrigin: {
+ vertical: 'bottom',
+ horizontal: 'center',
+ },
+ },
+ },
+};