Skip to content
Snippets Groups Projects
Commit faeabc67 authored by cjenkscybercom's avatar cjenkscybercom
Browse files

fix warnings

parent aa835487
No related branches found
No related tags found
2 merge requests!407CE-2141: 3.0.0,!405Qa release tasks
...@@ -195,7 +195,7 @@ export function CommandTypeIcon({ ...@@ -195,7 +195,7 @@ export function CommandTypeIcon({
return ( return (
<LabeledIcon <LabeledIcon
label={iconTitle} label={iconTitle}
LabelProps={{ nowrap: true }} LabelProps={{ noWrap: true }}
labelPosition={labelPosition} labelPosition={labelPosition}
Icon={StatusIcon} Icon={StatusIcon}
IconProps={{ style: { iconStyle } }} IconProps={{ style: { iconStyle } }}
......
...@@ -66,7 +66,7 @@ const LabeledIcon = React.forwardRef((props, ref) => { ...@@ -66,7 +66,7 @@ const LabeledIcon = React.forwardRef((props, ref) => {
); );
}); });
LabeledIcon.propTypes = { LabeledIcon.propTypes = {
Icon: node, Icon: object,
IconProps: object, IconProps: object,
label: oneOfType([string, node]), label: oneOfType([string, node]),
LabelProps: object, LabelProps: object,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment