Skip to content

Commit

Permalink
feat(icon): add shuffle icon (#2448)
Browse files Browse the repository at this point in the history
  • Loading branch information
rivka-ungar authored Sep 29, 2024
1 parent 716d928 commit b12936d
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/core/src/components/Icon/Icons/components/Shuffle.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* eslint-disable */
/* tslint:disable */
import * as React from 'react';
export interface ShuffleProps extends React.SVGAttributes<SVGElement> {
size?: string | number;
}
const Shuffle: React.FC<ShuffleProps> = ({size, ...props}) => (
<svg viewBox="0 0 20 20" fill="currentColor" width={ size || "20" } height={ size || "20" } {...props}>
<path d="M15.7803 3.46967C15.4874 3.17678 15.0126 3.17678 14.7197 3.46967C14.4268 3.76256 14.4268 4.23744 14.7197 4.53033L15.4393 5.25H12C11.7639 5.25 11.5416 5.36115 11.4 5.55L9 8.75L6.6 5.55C6.45836 5.36115 6.23607 5.25 6 5.25H2.75C2.33579 5.25 2 5.58579 2 6C2 6.41421 2.33579 6.75 2.75 6.75H5.625L8.0625 10L5.625 13.25H2.75C2.33579 13.25 2 13.5858 2 14C2 14.4142 2.33579 14.75 2.75 14.75H6C6.23607 14.75 6.45836 14.6389 6.6 14.45L9 11.25L11.4 14.45C11.5416 14.6389 11.7639 14.75 12 14.75H15.4393L14.7197 15.4697C14.4268 15.7626 14.4268 16.2374 14.7197 16.5303C15.0126 16.8232 15.4874 16.8232 15.7803 16.5303L17.7803 14.5303C18.0732 14.2374 18.0732 13.7626 17.7803 13.4697L15.7803 11.4697C15.4874 11.1768 15.0126 11.1768 14.7197 11.4697C14.4268 11.7626 14.4268 12.2374 14.7197 12.5303L15.4393 13.25H12.375L9.9375 10L12.375 6.75H15.4393L14.7197 7.46967C14.4268 7.76256 14.4268 8.23744 14.7197 8.53033C15.0126 8.82322 15.4874 8.82322 15.7803 8.53033L17.7803 6.53033C18.0732 6.23744 18.0732 5.76256 17.7803 5.46967L15.7803 3.46967Z"
fill="currentColor" fillRule="evenodd" clipRule="evenodd" />
</svg>
);
Shuffle.displayName = 'Shuffle';
export default Shuffle;
/* tslint:enable */
/* eslint-enable */
1 change: 1 addition & 0 deletions packages/core/src/components/Icon/Icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ export {default as Share} from './components/Share';
export {default as ShortText} from './components/ShortText';
export {default as Show} from './components/Show';
export {default as Shredder} from './components/Shredder';
export {default as Shuffle} from './components/Shuffle';
export {default as Sort} from './components/Sort';
export {default as SortAscending} from './components/SortAscending';
export {default as SortDescending} from './components/SortDescending';
Expand Down
3 changes: 3 additions & 0 deletions packages/style/src/Icons/Shuffle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions packages/style/src/Icons/iconsMetaData.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ const VIEW = "View";
export const iconsMetaData = [
// DO NOT REMOVE THIS FOLLOWING LINE!
// plop_marker:icon_metadata
{
name: "Shuffle",
file: "Shuffle.svg",
description: "Use to describe shuffle of items.",
tags: "Arrows, Random, Question, Form"
},

{
name: "Key",
file: "Key.svg",
Expand Down

0 comments on commit b12936d

Please sign in to comment.