Skip to content

Commit 33a772b

Browse files
committed
refactor: update Carousel styles and improve PerformersSection component structure
Signed-off-by: Amit Amrutiya <amitamrutiya2210@gmail.com>
1 parent 4f6de14 commit 33a772b

3 files changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
2+
import { IconProps } from '../types';
3+
4+
const LeaderboardIcon = ({
5+
width = DEFAULT_WIDTH,
6+
height = DEFAULT_HEIGHT,
7+
fill = 'currentColor',
8+
...props
9+
}: IconProps): JSX.Element => (
10+
<svg
11+
xmlns="http://www.w3.org/2000/svg"
12+
height={height}
13+
viewBox="0 0 20 20"
14+
width={width}
15+
fill={fill}
16+
{...props}
17+
>
18+
<rect fill={fill} x="14" y="0" width="6" height="20" />
19+
<rect fill={fill} x="7" y="5" width="6" height="15" />
20+
<rect fill={fill} y="10" width="6" height="10" />
21+
</svg>
22+
);
23+
24+
export default LeaderboardIcon;

src/icons/LeaderBoard/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import LeaderBoardIcon from './LeaderBoardIcon';
2+
3+
export { LeaderBoardIcon };

src/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export * from './InfoOutlined';
7272
export * from './InviteUser';
7373
export * from './Kanvas';
7474
export * from './Kubernetes';
75+
export * from './LeaderBoard';
7576
export * from './Learning';
7677
export * from './LeftAngledArrow';
7778
export * from './LeftArrow';

0 commit comments

Comments
 (0)