Skip to content

Commit

Permalink
[docs] Fix typo (#2554)
Browse files Browse the repository at this point in the history
* [docs] Text - update inherit demo to have consistency between example and code example

* updated demo code format
  • Loading branch information
TheKinng96 committed Sep 27, 2022
1 parent 50b4547 commit 50a169c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .tool-versions
@@ -0,0 +1 @@
nodejs 16.15.0
Expand Up @@ -5,7 +5,7 @@ const code = `
import { Text, Title } from '@mantine/core';
function Demo() {
return <Title order={3}>Highlight <Text color="blue" inherit component="span">something</Text>in title</Title>;
return <Title order={3}>Title in which you want to <Text color="blue" inherit component="span">highlight</Text> something</Title>;
}
`;

Expand Down

0 comments on commit 50a169c

Please sign in to comment.