2017-06-07 02:23:23 +03:00
|
|
|
import React from 'react';
|
|
|
|
import styled from 'styled-components';
|
|
|
|
|
|
|
|
import Baseline from '../baseline';
|
|
|
|
|
|
|
|
const UnorderedList = styled.ul`
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
`;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @example ./usage.md
|
|
|
|
*/
|
2017-08-28 22:21:08 +03:00
|
|
|
const SectionList = ({ children, ...rest }) => (
|
|
|
|
<UnorderedList {...rest}>{children}</UnorderedList>
|
|
|
|
);
|
2017-06-07 02:23:23 +03:00
|
|
|
|
|
|
|
export default Baseline(SectionList);
|
|
|
|
|
|
|
|
export { default as Item, Anchor, Link, NavLink } from './item';
|