feat: sortable table component

This commit is contained in:
Sonny
2024-08-30 23:35:05 +02:00
parent 442a1003bb
commit f0ec6d6b3d
6 changed files with 346 additions and 98 deletions

View File

@@ -0,0 +1,22 @@
import styled from '@emotion/styled';
const IconButton = styled.button(({ theme }) => ({
cursor: 'pointer',
height: '2rem',
width: '2rem',
fontSize: '1rem',
color: theme.colors.font,
backgroundColor: theme.colors.grey,
borderRadius: '50%',
border: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
'&:disabled': {
cursor: 'not-allowed',
opacity: 0.15,
},
}));
export default IconButton;