Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
d4af97c
fix: icon: Add iconProps prop support to MdiIcon component
vkatkade-c-eightfold Jun 9, 2025
1d51e7a
fix: icon: removed iconProps from icon component
vkatkade-c-eightfold Jun 11, 2025
af85688
fix: icon: removed logs
vkatkade-c-eightfold Jun 12, 2025
181f664
Merge branch 'main' into vkatkade/ENG-147916/icon
vkatkade-c-eightfold Jun 13, 2025
ba17129
Merge branch 'main' into vkatkade/ENG-147916/icon
ypatadia-eightfold Jun 25, 2025
f5c218a
fix: icon: resolved comment
vkatkade-c-eightfold Jun 30, 2025
a10f276
Merge branch 'vkatkade/ENG-147916/icon' of github.com:vkatkade-c-eigh…
vkatkade-c-eightfold Jun 30, 2025
7cca5bc
Merge branch 'main' into vkatkade/ENG-147916/icon
ypatadia-eightfold Jul 16, 2025
3c19879
Merge branch 'main' into vkatkade/ENG-147916/icon
ypatadia-eightfold Jul 29, 2025
b8c0fef
Merge branch 'main' into vkatkade/ENG-147916/icon
vkatkade-c-eightfold Aug 7, 2025
034bf82
fix: icon: resolved comment
vkatkade-c-eightfold Aug 8, 2025
c093dbc
Merge branch 'vkatkade/ENG-147916/icon' of github.com:vkatkade-c-eigh…
vkatkade-c-eightfold Aug 8, 2025
9f5de8c
Merge branch 'main' into vkatkade/ENG-147916/icon
ypatadia-eightfold Aug 12, 2025
6815f08
fix: icon: resolved comment
vkatkade-c-eightfold Aug 12, 2025
652a738
Merge branch 'vkatkade/ENG-147916/icon' of github.com:vkatkade-c-eigh…
vkatkade-c-eightfold Aug 12, 2025
7d34590
Merge branch 'main' into vkatkade/ENG-147916/icon
ypatadia-eightfold Aug 13, 2025
6ecd1b2
fix: icon: resolved comment
vkatkade-c-eightfold Aug 13, 2025
48524b1
Merge branch 'vkatkade/ENG-147916/icon' of github.com:vkatkade-c-eigh…
vkatkade-c-eightfold Aug 13, 2025
7b35908
Merge branch 'main' into vkatkade/ENG-147916/icon
ypatadia-eightfold Aug 13, 2025
9995c8a
Merge branch 'main' into vkatkade/ENG-147916/icon
ypatadia-eightfold Aug 13, 2025
8cdf9f6
fix: icon: resolved comment
vkatkade-c-eightfold Aug 13, 2025
8cc91e6
Merge branch 'vkatkade/ENG-147916/icon' of github.com:vkatkade-c-eigh…
vkatkade-c-eightfold Aug 13, 2025
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
2 changes: 2 additions & 0 deletions src/components/InfoBar/InfoBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export const InfoBar: FC<InfoBarsProps> = React.forwardRef(
gradient = false,
icon,
iconClassNames,
iconProps = {},
locale = enUS,
onClose,
role = 'alert',
Expand Down Expand Up @@ -145,6 +146,7 @@ export const InfoBar: FC<InfoBarsProps> = React.forwardRef(
<Icon
path={getIconName()}
classNames={mergeClasses([styles.icon, iconClassNames])}
{...iconProps}
/>
<div
className={mergeClasses([
Expand Down
6 changes: 6 additions & 0 deletions src/components/InfoBar/InfoBar.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { IconName } from '../Icon';
import { ButtonProps } from '../Button';
import { OcBaseProps } from '../OcBase';
import React from 'react';
import { IconProps } from '../Icon/Icon.types';

export type CloseButtonProps = Omit<ButtonProps, 'onClick' | 'icon'>;

Expand Down Expand Up @@ -92,6 +93,11 @@ export interface InfoBarsProps
* Custom classes of the icon.
*/
iconClassNames?: string;
/**
* Additional props to be passed to the Icon component.
* These props will be merged with the default icon props.
*/
iconProps?: IconProps;
/**
* The InfoBar locale.
* @default 'enUS'
Expand Down
1 change: 0 additions & 1 deletion src/components/Pills/Pills.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export type closeButtonProps = Omit<
'icon' | 'onClick' | 'size' | 'classNames'
>;


/**
* Props for the pill button shown on right of the label
*/
Expand Down