import React from 'react';

import * as css from './chip-content.css';

export interface ChipContentProps extends css.ContentVariants {
  children: React.ReactNode;
}

export const ChipContent = ({ withIcon, children }: ChipContentProps) => (
  <span className={css.content({ withIcon })}>{children}</span>
);
