Skip to content

Commit

Permalink
Extract from b478c73258e277d54b26f59d6a01f9f4ad8645b5
Browse files Browse the repository at this point in the history
  • Loading branch information
akeneo committed Oct 25, 2024
1 parent 435c7aa commit d1366f3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/icons/StarIcon.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ export declare type SplitButtonProps = Omit<Override<ButtonProps, {
label: string;
}>, 'href'>;

export declare const StarIcon: ({ title, size, color, ...props }: IconProps) => default_2.JSX.Element;
export declare const StarIcon: ({ title, size, color, fill, ...props }: IconProps) => default_2.JSX.Element;

export declare const StatusIllustration: ({ title, size, ...props }: IllustrationProps) => default_2.JSX.Element;

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "akeneo-design-system",
"version": "2.0.2",
"version": "2.0.3",
"description": "Akeneo design system",
"files": [
"lib"
Expand Down
4 changes: 2 additions & 2 deletions src/icons/StarIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React from 'react';
import {IconProps} from './IconProps';

const StarIcon = ({title, size = 24, color = 'currentColor', ...props}: IconProps) => (
const StarIcon = ({title, size = 24, color = 'currentColor', fill = 'none', ...props}: IconProps) => (
<svg viewBox="0 0 24 24" width={size} height={size} {...props}>
{title && <title>{title}</title>}
<path
d="M11.049 2.92705C11.3483 2.00574 12.6517 2.00574 12.9511 2.92705L14.4697 7.60081C14.6035 8.01284 14.9875 8.2918 15.4207 8.2918H20.335C21.3037 8.2918 21.7065 9.53141 20.9228 10.1008L16.9471 12.9894C16.5966 13.244 16.4499 13.6954 16.5838 14.1074L18.1024 18.7812C18.4017 19.7025 17.3473 20.4686 16.5635 19.8992L12.5878 17.0106C12.2373 16.756 11.7627 16.756 11.4122 17.0106L7.4365 19.8992C6.65278 20.4686 5.5983 19.7025 5.89765 18.7812L7.41625 14.1074C7.55012 13.6954 7.40347 13.244 7.05298 12.9894L3.07724 10.1008C2.29353 9.53141 2.6963 8.2918 3.66502 8.2918H8.57931C9.01253 8.2918 9.39649 8.01284 9.53036 7.60081L11.049 2.92705Z"
stroke={color}
fill="none"
fill={fill}
/>
</svg>
);
Expand Down

0 comments on commit d1366f3

Please sign in to comment.