-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tag] fixed interactive, role and examples with list of tags
- Loading branch information
1 parent
7b340b5
commit d0703fc
Showing
4 changed files
with
39 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
website/docs/components/tag/examples/grouping_tags_less.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React from 'react'; | ||
import Tag from 'intergalactic/tag'; | ||
import { Flex } from 'intergalactic/flex-box'; | ||
|
||
const Demo = () => { | ||
return ( | ||
<Flex aria-label={'Social media'} gap={1}> | ||
<Tag size={'l'} color={'blue-500'}> | ||
</Tag> | ||
<Tag size={'l'} color={'blue-500'}> | ||
</Tag> | ||
<Tag size={'l'} color={'blue-500'}> | ||
</Tag> | ||
</Flex> | ||
); | ||
}; | ||
|
||
export default Demo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters