Skip to content

Commit 57007f6

Browse files
committed
chore(theme): default Select check icon to the right
1 parent 5503f09 commit 57007f6

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

src/renderer/index.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33
* @homepage: https://oldj.net
44
*/
55

6-
import { createTheme, Drawer, MantineColorsTuple, MantineProvider, Tooltip } from '@mantine/core'
6+
import {
7+
createTheme,
8+
Drawer,
9+
MantineColorsTuple,
10+
MantineProvider,
11+
Select,
12+
Tooltip,
13+
} from '@mantine/core'
714
import '@mantine/core/styles.css'
815
import { Notifications } from '@mantine/notifications'
916
import '@mantine/notifications/styles.css'
@@ -61,6 +68,11 @@ const theme = createTheme({
6168
radius: 'md',
6269
},
6370
}),
71+
Select: Select.extend({
72+
defaultProps: {
73+
checkIconPosition: 'right',
74+
},
75+
}),
6476
},
6577
})
6678

0 commit comments

Comments
 (0)