2017-05-18 21:21:33 +03:00
|
|
|
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 }) =>
|
2017-05-18 21:21:33 +03:00
|
|
|
<StyledUl {...rest}>
|
|
|
|
{children}
|
2017-06-12 01:58:22 +03:00
|
|
|
</StyledUl>;
|
2017-05-18 21:21:33 +03:00
|
|
|
|
|
|
|
export default Baseline(Ul);
|