Skip to content

Commit

Permalink
Add FeedbackReceived icon
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiodxa committed Jun 16, 2020
1 parent 68aab2d commit 656a9cb
Show file tree
Hide file tree
Showing 2 changed files with 135 additions and 0 deletions.
112 changes: 112 additions & 0 deletions src/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,34 @@ exports[`With className array Icon EllipsisVertical 1`] = `
</div>
`;

exports[`With className array Icon FeedbackReceived 1`] = `
<div>
<svg
class="w-4 text-black fill-current"
height="24px"
viewBox="0 0 24 24"
width="24px"
>
<g
fill="none"
fill-rule="evenodd"
stroke="none"
stroke-width="1"
>
<path
d="M0 0H24V24H0z"
/>
<path
d="M7.816 2c1.723 0 3.345.673 4.564 1.891a6.405 6.405 0 011.891 4.564 6.415 6.415 0 01-1.891 4.563 6.435 6.435 0 01-2.492 1.552 7.8 7.8 0 013.455 2.013 7.8 7.8 0 011.676 2.484c.408.966.614 1.988.618 3.045a.843.843 0 11-1.687 0 6.091 6.091 0 00-1.795-4.336 6.091 6.091 0 00-4.336-1.796 6.091 6.091 0 00-4.336 1.796 6.091 6.091 0 00-1.796 4.336.843.843 0 11-1.687 0 7.774 7.774 0 012.29-5.53 7.8 7.8 0 013.455-2.012 6.435 6.435 0 01-2.492-1.552 6.405 6.405 0 01-1.891-4.563c0-1.723.672-3.345 1.891-4.564A6.405 6.405 0 017.816 2zm7.302 10.782l-.016-.028-.015-.029a.895.895 0 01-.056-.148.846.846 0 01.104-.686l.01-.015a.854.854 0 01.072-.094L18.71 7.79a.85.85 0 011.35 1.028l-.07.092-2.267 2.589 5.427.001a.85.85 0 010 1.7l-5.428-.001 2.268 2.591a.85.85 0 01.001 1.118l-.081.082a.85.85 0 01-1.118.001l-.082-.081-3.5-4-.06-.078-.032-.05zM7.814 3.687a4.773 4.773 0 00-4.767 4.768 4.773 4.773 0 004.767 4.767 4.771 4.771 0 004.767-4.767c0-2.63-2.14-4.768-4.767-4.768z"
fill="currentColor"
fill-opacity="0.85"
fill-rule="nonzero"
/>
</g>
</svg>
</div>
`;

exports[`With className array Icon Frown 1`] = `
<div>
<svg
Expand Down Expand Up @@ -2245,6 +2273,34 @@ exports[`With className object Icon EllipsisVertical 1`] = `
</div>
`;

exports[`With className object Icon FeedbackReceived 1`] = `
<div>
<svg
class="w-4 fill-current"
height="24px"
viewBox="0 0 24 24"
width="24px"
>
<g
fill="none"
fill-rule="evenodd"
stroke="none"
stroke-width="1"
>
<path
d="M0 0H24V24H0z"
/>
<path
d="M7.816 2c1.723 0 3.345.673 4.564 1.891a6.405 6.405 0 011.891 4.564 6.415 6.415 0 01-1.891 4.563 6.435 6.435 0 01-2.492 1.552 7.8 7.8 0 013.455 2.013 7.8 7.8 0 011.676 2.484c.408.966.614 1.988.618 3.045a.843.843 0 11-1.687 0 6.091 6.091 0 00-1.795-4.336 6.091 6.091 0 00-4.336-1.796 6.091 6.091 0 00-4.336 1.796 6.091 6.091 0 00-1.796 4.336.843.843 0 11-1.687 0 7.774 7.774 0 012.29-5.53 7.8 7.8 0 013.455-2.012 6.435 6.435 0 01-2.492-1.552 6.405 6.405 0 01-1.891-4.563c0-1.723.672-3.345 1.891-4.564A6.405 6.405 0 017.816 2zm7.302 10.782l-.016-.028-.015-.029a.895.895 0 01-.056-.148.846.846 0 01.104-.686l.01-.015a.854.854 0 01.072-.094L18.71 7.79a.85.85 0 011.35 1.028l-.07.092-2.267 2.589 5.427.001a.85.85 0 010 1.7l-5.428-.001 2.268 2.591a.85.85 0 01.001 1.118l-.081.082a.85.85 0 01-1.118.001l-.082-.081-3.5-4-.06-.078-.032-.05zM7.814 3.687a4.773 4.773 0 00-4.767 4.768 4.773 4.773 0 004.767 4.767 4.771 4.771 0 004.767-4.767c0-2.63-2.14-4.768-4.767-4.768z"
fill="currentColor"
fill-opacity="0.85"
fill-rule="nonzero"
/>
</g>
</svg>
</div>
`;

exports[`With className object Icon Frown 1`] = `
<div>
<svg
Expand Down Expand Up @@ -3654,6 +3710,34 @@ exports[`With className string Icon EllipsisVertical 1`] = `
</div>
`;

exports[`With className string Icon FeedbackReceived 1`] = `
<div>
<svg
class="w-4 h-4 fill-current"
height="24px"
viewBox="0 0 24 24"
width="24px"
>
<g
fill="none"
fill-rule="evenodd"
stroke="none"
stroke-width="1"
>
<path
d="M0 0H24V24H0z"
/>
<path
d="M7.816 2c1.723 0 3.345.673 4.564 1.891a6.405 6.405 0 011.891 4.564 6.415 6.415 0 01-1.891 4.563 6.435 6.435 0 01-2.492 1.552 7.8 7.8 0 013.455 2.013 7.8 7.8 0 011.676 2.484c.408.966.614 1.988.618 3.045a.843.843 0 11-1.687 0 6.091 6.091 0 00-1.795-4.336 6.091 6.091 0 00-4.336-1.796 6.091 6.091 0 00-4.336 1.796 6.091 6.091 0 00-1.796 4.336.843.843 0 11-1.687 0 7.774 7.774 0 012.29-5.53 7.8 7.8 0 013.455-2.012 6.435 6.435 0 01-2.492-1.552 6.405 6.405 0 01-1.891-4.563c0-1.723.672-3.345 1.891-4.564A6.405 6.405 0 017.816 2zm7.302 10.782l-.016-.028-.015-.029a.895.895 0 01-.056-.148.846.846 0 01.104-.686l.01-.015a.854.854 0 01.072-.094L18.71 7.79a.85.85 0 011.35 1.028l-.07.092-2.267 2.589 5.427.001a.85.85 0 010 1.7l-5.428-.001 2.268 2.591a.85.85 0 01.001 1.118l-.081.082a.85.85 0 01-1.118.001l-.082-.081-3.5-4-.06-.078-.032-.05zM7.814 3.687a4.773 4.773 0 00-4.767 4.768 4.773 4.773 0 004.767 4.767 4.771 4.771 0 004.767-4.767c0-2.63-2.14-4.768-4.767-4.768z"
fill="currentColor"
fill-opacity="0.85"
fill-rule="nonzero"
/>
</g>
</svg>
</div>
`;

exports[`With className string Icon Frown 1`] = `
<div>
<svg
Expand Down Expand Up @@ -5063,6 +5147,34 @@ exports[`Without className Icon EllipsisVertical 1`] = `
</div>
`;

exports[`Without className Icon FeedbackReceived 1`] = `
<div>
<svg
class="fill-current"
height="24px"
viewBox="0 0 24 24"
width="24px"
>
<g
fill="none"
fill-rule="evenodd"
stroke="none"
stroke-width="1"
>
<path
d="M0 0H24V24H0z"
/>
<path
d="M7.816 2c1.723 0 3.345.673 4.564 1.891a6.405 6.405 0 011.891 4.564 6.415 6.415 0 01-1.891 4.563 6.435 6.435 0 01-2.492 1.552 7.8 7.8 0 013.455 2.013 7.8 7.8 0 011.676 2.484c.408.966.614 1.988.618 3.045a.843.843 0 11-1.687 0 6.091 6.091 0 00-1.795-4.336 6.091 6.091 0 00-4.336-1.796 6.091 6.091 0 00-4.336 1.796 6.091 6.091 0 00-1.796 4.336.843.843 0 11-1.687 0 7.774 7.774 0 012.29-5.53 7.8 7.8 0 013.455-2.012 6.435 6.435 0 01-2.492-1.552 6.405 6.405 0 01-1.891-4.563c0-1.723.672-3.345 1.891-4.564A6.405 6.405 0 017.816 2zm7.302 10.782l-.016-.028-.015-.029a.895.895 0 01-.056-.148.846.846 0 01.104-.686l.01-.015a.854.854 0 01.072-.094L18.71 7.79a.85.85 0 011.35 1.028l-.07.092-2.267 2.589 5.427.001a.85.85 0 010 1.7l-5.428-.001 2.268 2.591a.85.85 0 01.001 1.118l-.081.082a.85.85 0 01-1.118.001l-.082-.081-3.5-4-.06-.078-.032-.05zM7.814 3.687a4.773 4.773 0 00-4.767 4.768 4.773 4.773 0 004.767 4.767 4.771 4.771 0 004.767-4.767c0-2.63-2.14-4.768-4.767-4.768z"
fill="currentColor"
fill-opacity="0.85"
fill-rule="nonzero"
/>
</g>
</svg>
</div>
`;

exports[`Without className Icon Frown 1`] = `
<div>
<svg
Expand Down
23 changes: 23 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1145,3 +1145,26 @@ export function LightbulbOn(props: BaseProps): JSX.Element {
</svg>
);
}

export function FeedbackReceived(props: BaseProps): JSX.Element {
const className = cx(props.className, 'fill-current');
return (
<svg
width="24px"
height="24px"
viewBox="0 0 24 24"
{...props}
className={className}
>
<g stroke="none" strokeWidth={1} fill="none" fillRule="evenodd">
<path d="M0 0H24V24H0z" />
<path
d="M7.816 2c1.723 0 3.345.673 4.564 1.891a6.405 6.405 0 011.891 4.564 6.415 6.415 0 01-1.891 4.563 6.435 6.435 0 01-2.492 1.552 7.8 7.8 0 013.455 2.013 7.8 7.8 0 011.676 2.484c.408.966.614 1.988.618 3.045a.843.843 0 11-1.687 0 6.091 6.091 0 00-1.795-4.336 6.091 6.091 0 00-4.336-1.796 6.091 6.091 0 00-4.336 1.796 6.091 6.091 0 00-1.796 4.336.843.843 0 11-1.687 0 7.774 7.774 0 012.29-5.53 7.8 7.8 0 013.455-2.012 6.435 6.435 0 01-2.492-1.552 6.405 6.405 0 01-1.891-4.563c0-1.723.672-3.345 1.891-4.564A6.405 6.405 0 017.816 2zm7.302 10.782l-.016-.028-.015-.029a.895.895 0 01-.056-.148.846.846 0 01.104-.686l.01-.015a.854.854 0 01.072-.094L18.71 7.79a.85.85 0 011.35 1.028l-.07.092-2.267 2.589 5.427.001a.85.85 0 010 1.7l-5.428-.001 2.268 2.591a.85.85 0 01.001 1.118l-.081.082a.85.85 0 01-1.118.001l-.082-.081-3.5-4-.06-.078-.032-.05zM7.814 3.687a4.773 4.773 0 00-4.767 4.768 4.773 4.773 0 004.767 4.767 4.771 4.771 0 004.767-4.767c0-2.63-2.14-4.768-4.767-4.768z"
fillOpacity={0.85}
fill="currentColor"
fillRule="nonzero"
/>
</g>
</svg>
);
}

0 comments on commit 656a9cb

Please sign in to comment.