Skip to content
Snippets Groups Projects
Commit 9ca90a44 authored by Kyle Doherty's avatar Kyle Doherty
Browse files

lint

parent 7542cab5
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,8 @@ import colors, { alpha } from "metabase/lib/colors";
const Card = styled.div`
${space} background-color: ${props =>
props.dark ? colors["text-dark"] : "white"};
border: 1px solid ${props => (props.dark ? "transparent" : colors["bg-medium"])};
border: 1px solid
${props => (props.dark ? "transparent" : colors["bg-medium"])};
${props => props.dark && `color: white`};
border-radius: 6px;
box-shadow: 0 7px 20px ${props => colors["shadow"]};
......
......@@ -20,15 +20,17 @@ const EntityItemWrapper = Flex.extend`
}
`;
export const EntityListItem = (props) =>
<Box mt={1} mb={2}>
<EntityItem {...props} />
</Box>
export const EntityListItem = props => (
<Box mt={1} mb={2}>
<EntityItem {...props} />
</Box>
);
export const EntityCardItem = (props) =>
<Box my={1}>
<EntityItem {...props} />
</Box>
export const EntityCardItem = props => (
<Box my={1}>
<EntityItem {...props} />
</Box>
);
const EntityItem = ({
name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment