-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #334 from mongodb/brooke/codesandbox
Adds Codesandbox links to components!
- Loading branch information
Showing
6 changed files
with
95 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
function CodeSandboxIcon(props: JSX.IntrinsicElements['svg']) { | ||
return ( | ||
<svg | ||
{...props} | ||
width="16" | ||
height="16" | ||
viewBox="0 0 16 16" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M7.99999 0C7.61442 0 7.23563 0.100517 6.90158 0.291464L4.55802 1.61984C4.40393 1.65008 4.26018 1.72903 4.15195 1.85001L1.76959 3.20038L1.76676 3.202C1.49544 3.35738 1.26145 3.56801 1.07969 3.81912C1.03544 3.86303 0.996163 3.91333 0.963332 3.96963C0.935052 4.01812 0.913046 4.06851 0.897064 4.11986C0.746218 4.42062 0.667128 4.75247 0.666779 5.08962L0.666779 7.98605C0.666616 7.99491 0.666616 8.00376 0.666779 8.0126L0.666779 10.9104C0.667175 11.2931 0.769015 11.6689 0.962082 12.0002C1.15515 12.3315 1.43265 12.6067 1.76676 12.798L1.76959 12.7996L4.15231 14.1502C4.25674 14.2665 4.39823 14.3493 4.5584 14.3804L6.90001 15.7076L6.90137 15.7084C7.23547 15.8994 7.61434 16 7.99999 16C8.38566 16 8.76454 15.8994 9.09865 15.7084L9.09997 15.7076L11.4416 14.3804C11.6017 14.3493 11.7432 14.2665 11.8477 14.1502L14.2304 12.7996L14.2332 12.798C14.5673 12.6067 14.8448 12.3315 15.0379 12.0002C15.231 11.6689 15.3328 11.2931 15.3332 10.9104V8.01265C15.3334 8.00378 15.3334 7.99489 15.3332 7.986V5.08962C15.3329 4.75248 15.2538 4.42064 15.1029 4.11988C15.0869 4.06852 15.0649 4.01813 15.0367 3.96963C15.0038 3.91332 14.9645 3.86302 14.9203 3.8191C14.7385 3.568 14.5045 3.35737 14.2332 3.20199L11.848 1.85002C11.7398 1.72903 11.596 1.65007 11.4419 1.61984L9.09997 0.292363L9.09844 0.291487C8.76438 0.100525 8.38558 0 7.99999 0ZM2.13342 7.58019V5.48137L7.26667 8.42684V14.2399L5.43337 13.2007V9.89127C5.43337 9.63147 5.29368 9.3914 5.06691 9.26143L2.13342 7.58019ZM8.73331 14.2399L10.5666 13.2007V9.89127C10.5666 9.63147 10.7063 9.3914 10.9331 9.26143L13.8666 7.58019V5.48138L8.73331 8.42684V14.2399ZM7.99999 7.16693L13.1047 4.23787L11.2637 3.19437L8.36685 4.85459C8.13986 4.98468 7.86012 4.98468 7.63313 4.85459L4.73631 3.19437L2.89533 4.23787L7.99999 7.16693ZM12.0333 12.3694L13.4999 11.5381L13.5011 11.5374C13.6119 11.4737 13.704 11.3822 13.7681 11.2722C13.8325 11.1617 13.8664 11.0364 13.8666 10.9089V9.26038L12.0333 10.3111V12.3694ZM2.13342 10.9092V9.26038L3.96672 10.3111V12.3694L2.50008 11.5381L2.49893 11.5374C2.38807 11.4737 2.29599 11.3822 2.23185 11.2722C2.16755 11.1618 2.13361 11.0367 2.13342 10.9092ZM9.78974 2.35891L8.36948 1.55388L8.36665 1.55227C8.25517 1.48843 8.12872 1.45482 7.99999 1.45482C7.87126 1.45482 7.74481 1.48843 7.63333 1.55227L7.6305 1.55388L6.21024 2.35891L7.99999 3.38465L9.78974 2.35891Z" | ||
fill="#000" | ||
/> | ||
</svg> | ||
); | ||
} | ||
|
||
CodeSandboxIcon.displayName = 'CodeSandboxIcon'; | ||
|
||
export default CodeSandboxIcon; |
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
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
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