Skip to content

Commit

Permalink
[@mantine/core] Title: Fix incorrect ts definition
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Aug 15, 2021
1 parent 4db7fac commit b58cedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mantine-core/src/components/Title/Title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function Title({
align,
style,
...others
}: TitleProps) {
}: TitleProps): JSX.Element {
if (![1, 2, 3, 4, 5, 6].includes(order)) {
return null;
}
Expand Down

0 comments on commit b58cedf

Please sign in to comment.