import { forwardRef } from 'react'; import styled from 'styled-components'; import { UIComponentWithRef, UIStyledComponentProps } from '../types'; import { getCssResponsive } from '../utils'; type Props = { }; export type ListProps = UIStyledComponentProps; export type ListComponent = UIComponentWithRef; const StyledList = styled.div` width: 100%; padding: 0.5rem 0; border-bottom: 1px solid var(--color-neutral-200); ${props => getCssResponsive(props)} `; export const List: ListComponent = forwardRef(({ as = 'div', ...props }, ref) => ( )); List.displayName = 'List';