import { PillStatus } 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>
    <PillStatus status="On-air" active />
  </Surface>
)

export const Statuses = () => (
  <Surface>
    <PillStatus status="On-air" active />
    <PillStatus status="Preview" active />
    <PillStatus status="Analyzing" active />
    <PillStatus status="Inactive" />
  </Surface>
)

export const ActiveVsInactive = () => (
  <Surface>
    <PillStatus status="On-air" active count={12} />
    <PillStatus status="On-air" count={12} />
  </Surface>
)
