Fix box component styles

This commit is contained in:
Hazem Krimi
2021-06-04 17:49:09 +01:00
parent 3ee656f73c
commit ade5b86435
+1 -1
View File
@@ -2,7 +2,7 @@ import styled from 'styled-components';
import { BoxProps } from '.'; import { BoxProps } from '.';
export const Wrapper = styled.div<BoxProps>` export const Wrapper = styled.div<BoxProps>`
${({ cursor }) => cursor && `cursor: ${cursor}`} ${({ cursor }) => cursor && `cursor: ${cursor}`};
${({ position }) => position && `position: ${position}`}; ${({ position }) => position && `position: ${position}`};
${({ zIndex }) => zIndex && `z-index: ${zIndex}`}; ${({ zIndex }) => zIndex && `z-index: ${zIndex}`};