Skip to content

Commit

Permalink
[@mantine/demos] Make Chip in configurator checked by default
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Oct 21, 2022
1 parent 67b6b77 commit 4fa634e
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -5,7 +5,9 @@ import { Chip, ChipProps, Group } from '@mantine/core';
function Wrapper(props: ChipProps) {
return (
<Group position="center">
<Chip {...props}>Awesome chip</Chip>
<Chip defaultChecked {...props}>
Awesome chip
</Chip>
</Group>
);
}
Expand All @@ -14,7 +16,7 @@ const codeTemplate = (props: string) => `
import { Chip } from '@mantine/core';
function Demo() {
return <Chip${props}>Awesome chip</Chip>
return <Chip defaultChecked${props}>Awesome chip</Chip>
}
`;

Expand Down

0 comments on commit 4fa634e

Please sign in to comment.