diff --git a/src/lib/components/comparisonTable/components/TableInfoButton/index.tsx b/src/lib/components/comparisonTable/components/TableInfoButton/index.tsx index 1542b65f..746671dd 100644 --- a/src/lib/components/comparisonTable/components/TableInfoButton/index.tsx +++ b/src/lib/components/comparisonTable/components/TableInfoButton/index.tsx @@ -1,3 +1,4 @@ +import Info from '../../../icon/icons/Info'; import styles from './style.module.scss'; const TableInfoButton = ({ @@ -7,39 +8,13 @@ const TableInfoButton = ({ onClick: () => void; className?: string; }) => ( - { - e.stopPropagation(); - - if (e.key === 'Enter' || e.key === " ") { - onClick(); - } - }} - tabIndex={0} > - - - - - - + + ); export default TableInfoButton; diff --git a/src/lib/components/comparisonTable/components/TableInfoButton/style.module.scss b/src/lib/components/comparisonTable/components/TableInfoButton/style.module.scss index b8b90c69..cb6681b2 100644 --- a/src/lib/components/comparisonTable/components/TableInfoButton/style.module.scss +++ b/src/lib/components/comparisonTable/components/TableInfoButton/style.module.scss @@ -20,12 +20,16 @@ background-color: $ds-primary-50; svg { - fill: $ds-primary-300; + path { + fill: $ds-primary-300; + } } } svg { - fill: $ds-primary-100; + path { + fill: $ds-grey-400; + } transition: all 0.3s ease; }