diff --git a/src/components/atoms/IconButton/IconButton.ts b/src/components/atoms/IconButton/IconButton.ts new file mode 100644 index 0000000..982c1c3 --- /dev/null +++ b/src/components/atoms/IconButton/IconButton.ts @@ -0,0 +1,9 @@ +import { IconButton as MuiIconButton, styled } from '@mui/material' + +const IconButton = styled(MuiIconButton)(({ theme }) => ({ + ':hover': { + backgroundColor: 'transparent', + color: theme.palette.primary.main, + }, +})) +export default IconButton diff --git a/src/components/atoms/IconButton/index.ts b/src/components/atoms/IconButton/index.ts new file mode 100644 index 0000000..9de6d2c --- /dev/null +++ b/src/components/atoms/IconButton/index.ts @@ -0,0 +1 @@ +export { default } from './IconButton' diff --git a/src/components/atoms/index.ts b/src/components/atoms/index.ts new file mode 100644 index 0000000..fc4fbfa --- /dev/null +++ b/src/components/atoms/index.ts @@ -0,0 +1 @@ +export { default as IconLinks } from './IconButton'