1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-15 07:40:07 +02:00
copilot/packages/ui-toolkit/src/list/ul.js

24 lines
472 B
JavaScript
Raw Normal View History

import React from 'react';
import styled from 'styled-components';
import remcalc from 'remcalc';
import Baseline from '../baseline';
import typography from '../typography';
const StyledUl = styled.ul`
${typography.fontFamily};
${typography.semibold};
list-style-type: none;
margin-bottom: ${remcalc(33)};
`;
/**
* @example ./usage.md
*/
2017-06-12 01:58:22 +03:00
const Ul = ({ children, ...rest }) =>
<StyledUl {...rest}>
{children}
2017-06-12 01:58:22 +03:00
</StyledUl>;
export default Baseline(Ul);