mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: add dropdown component
This commit is contained in:
16
inertia/components/common/dropdown/dropdown_item.tsx
Normal file
16
inertia/components/common/dropdown/dropdown_item.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
const DropdownItem = styled.div(({ theme }) => ({
|
||||
fontSize: '14px',
|
||||
padding: '8px 12px',
|
||||
display: 'flex',
|
||||
gap: '0.35em',
|
||||
alignItems: 'center',
|
||||
borderRadius: theme.border.radius,
|
||||
|
||||
'&:hover': {
|
||||
backgroundColor: theme.colors.background,
|
||||
},
|
||||
}));
|
||||
|
||||
export default DropdownItem;
|
||||
Reference in New Issue
Block a user