-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DST-64]: Ref: unify the used chev icon over all components (#3228)
- Loading branch information
1 parent
502a64a
commit 478906c
Showing
9 changed files
with
9,992 additions
and
3,372 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
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,14 @@ | ||
import React, { forwardRef } from 'react'; | ||
import { SVG, SVGProps as SVGPropsType } from '@marigold/system'; | ||
|
||
interface SVGProps extends SVGPropsType { | ||
className?: string; | ||
} | ||
|
||
export const ChevronDown = forwardRef<SVGSVGElement, SVGProps>( | ||
({ className, ...props }, ref) => ( | ||
<SVG className={className} {...props} viewBox="0 0 24 24" ref={ref}> | ||
<path d="M5.97563 7.125L12 13.1363L18.0244 7.125L19.875 8.97563L12 16.8506L4.125 8.97563L5.97563 7.125Z" /> | ||
</SVG> | ||
) | ||
); |
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,14 @@ | ||
import React, { forwardRef } from 'react'; | ||
import { SVG, SVGProps as SVGPropsType } from '@marigold/system'; | ||
|
||
interface SVGProps extends SVGPropsType { | ||
className?: string; | ||
} | ||
|
||
export const ChevronLeft = forwardRef<SVGSVGElement, SVGProps>( | ||
({ className, ...props }, ref) => ( | ||
<SVG className={className} {...props} viewBox="0 0 24 24" ref={ref}> | ||
<path d="M16.8506 18.0244L10.8394 12L16.8506 5.97563L15 4.125L7.125 12L15 19.875L16.8506 18.0244Z" /> | ||
</SVG> | ||
) | ||
); |
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,14 @@ | ||
import React, { forwardRef } from 'react'; | ||
import { SVG, SVGProps as SVGPropsType } from '@marigold/system'; | ||
|
||
interface SVGProps extends SVGPropsType { | ||
className?: string; | ||
} | ||
|
||
export const ChevronRight = forwardRef<SVGSVGElement, SVGProps>( | ||
({ className, ...props }, ref) => ( | ||
<SVG className={className} {...props} viewBox="0 0 24 24" ref={ref}> | ||
<path d="M7.125 18.0244L13.1363 12L7.125 5.97563L8.97563 4.125L16.8506 12L8.97563 19.875L7.125 18.0244Z" /> | ||
</SVG> | ||
) | ||
); |
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,14 @@ | ||
import React, { forwardRef } from 'react'; | ||
import { SVG, SVGProps as SVGPropsType } from '@marigold/system'; | ||
|
||
interface SVGProps extends SVGPropsType { | ||
className?: string; | ||
} | ||
|
||
export const ChevronUp = forwardRef<SVGSVGElement, SVGProps>( | ||
({ className, ...props }, ref) => ( | ||
<SVG className={className} {...props} viewBox="0 0 24 24" ref={ref}> | ||
<path d="M5.97563 16.8506L12 10.8394L18.0244 16.8506L19.875 15L12 7.125L4.125 15L5.97563 16.8506Z" /> | ||
</SVG> | ||
) | ||
); |
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,4 @@ | ||
export * from './ChevronUp'; | ||
export * from './ChevronDown'; | ||
export * from './ChevronRight'; | ||
export * from './ChevronLeft'; |
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
Oops, something went wrong.
478906c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
marigold-storybook – ./
marigold-storybook-git-main-marigold.vercel.app
marigold-storybook-marigold.vercel.app
marigold-latest.vercel.app
478906c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
marigold-docs – ./
marigold-docs-git-main-marigold.vercel.app
marigold-docs-marigold.vercel.app
marigold-docs.vercel.app