Skip to content

Commit

Permalink
fix(mantine, prompt): center the prompt component by default
Browse files Browse the repository at this point in the history
  • Loading branch information
toofff committed Aug 10, 2024
1 parent c1872ff commit 767ae15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/mantine/src/components/prompt/Prompt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const PROMPT_VARIANT_ICONS_SRC: Record<PromptVariant, string> = {

const defaultProps: Partial<PromptProps> = {
variant: 'info',
centered: true,
};

const varsResolver = createVarsResolver<PromptFactory>((_theme, {icon}) => ({
Expand Down

0 comments on commit 767ae15

Please sign in to comment.