import { css } from '@emotion/react'; import { iconSize, spacing, theme } from '@expo/styleguide'; import * as React from 'react'; export type DocIconProps = { Icon?: React.ElementType; color?: string; small?: boolean; }; export const IconBase = ({ color, small, Icon }: DocIconProps) => { if (!Icon) return null; return ( ); }; const iconStyles = css({ 'table &, li &': { verticalAlign: 'middle', }, 'li &': { marginTop: -spacing[0.5], }, });