Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New icons: plus-one and minus-one #296

Merged
merged 1 commit into from
Oct 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions packages/core/src/icons/components/MinusOne.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from 'react';

export default function SvgMinusOne(props) {
return (
<svg width="1em" height="1em" viewBox="0 0 32 32" {...props}>
<circle
cx={16}
cy={16}
r={15}
stroke="currentColor"
strokeWidth={2}
fill="transparent"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M8 16c0-.552.512-1 1.143-1h13.714c.631 0 1.143.448 1.143 1s-.512 1-1.143 1H9.143C8.512 17 8 16.552 8 16z"
/>
</svg>
);
}
26 changes: 26 additions & 0 deletions packages/core/src/icons/components/PlusOne.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import React from 'react';

export default function SvgPlusOne(props) {
return (
<svg width="1em" height="1em" viewBox="0 0 32 32" {...props}>
<circle
cx={16}
cy={16}
r={15}
stroke="currentColor"
strokeWidth={2}
fill="transparent"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M8 16c0-.631.512-1.143 1.143-1.143h13.714a1.143 1.143 0 010 2.286H9.143A1.143 1.143 0 018 16z"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M16 24a1.143 1.143 0 01-1.143-1.143V9.143a1.143 1.143 0 012.286 0v13.714C17.143 23.488 16.63 24 16 24z"
/>
</svg>
);
}
4 changes: 4 additions & 0 deletions packages/core/src/icons/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ import LastPage from './LastPage';
import Loading from './Loading';
import Lock from './Lock';
import Mapping from './Mapping';
import MinusOne from './MinusOne';
import More from './More';
import NextPage from './NextPage';
import Next from './Next';
import Pause from './Pause';
import Pencil from './Pencil';
import Picture from './Picture';
import Play from './Play';
import PlusOne from './PlusOne';
import PrevPage from './PrevPage';
import Prev from './Prev';
import Printer from './Printer';
Expand Down Expand Up @@ -112,13 +114,15 @@ export default {
loading: Loading,
lock: Lock,
mapping: Mapping,
'minus-one': MinusOne,
more: More,
'next-page': NextPage,
next: Next,
pause: Pause,
pencil: Pencil,
picture: Picture,
play: Play,
'plus-one': PlusOne,
'prev-page': PrevPage,
prev: Prev,
printer: Printer,
Expand Down
4 changes: 4 additions & 0 deletions packages/core/src/icons/svg/minus-one.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/core/src/icons/svg/plus-one.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.