import React from 'react'
import classNames from 'classnames'
import classes from '../styles/list.module.sass'
import { replaceEmoji } from './icon'
export const Ol = props =>
export const Ul = props =>
export const Li = ({ children, ...props }) => {
const { hasIcon, content } = replaceEmoji(children)
const liClassNames = classNames(classes.li, { [classes.liIcon]: hasIcon })
return (
{content}
)
}