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

25 lines
476 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
*/
const Ul = ({ children, ...rest }) => (
<StyledUl {...rest}>
{children}
</StyledUl>
);
export default Baseline(Ul);