import { PillCounter } from 'tvu-react-pilot'

const Surface = ({ children }: any) => (
  <div style={{ background: 'var(--bg-layer1)', padding: 20, display: 'flex', gap: 16, flexWrap: 'wrap', alignItems: 'center', borderRadius: 8 }}>
    {children}
  </div>
)

export const Primary = () => (
  <Surface>
    <PillCounter kind="success">12</PillCounter>
  </Surface>
)

export const Kinds = () => (
  <Surface>
    <PillCounter kind="success">3</PillCounter>
    <PillCounter kind="warning">7</PillCounter>
    <PillCounter kind="info">12</PillCounter>
    <PillCounter kind="neutral">99+</PillCounter>
  </Surface>
)
