Skip to content

Commit

Permalink
feat: Add default props to the List component in the Theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomenezes committed Nov 26, 2023
1 parent 0e557f2 commit 6181791
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/web/src/providers/theme.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {
AppShell,
DEFAULT_THEME,
List,
MantineThemeOverride,
Modal,
createTheme,
Expand Down Expand Up @@ -37,6 +38,12 @@ const themeOverride: MantineThemeOverride = createTheme({
},
},
}),
List: List.extend({
defaultProps: {
center: true,
spacing: "0.5rem",
},
}),
},
});

Expand Down

0 comments on commit 6181791

Please sign in to comment.