synapsecns/sanguine

View on GitHub
packages/synapse-interface/components/ui/BridgeSectionContainer.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import { joinClassNames } from '@/utils/joinClassNames'

export function BridgeSectionContainer({ children }) {
  const classNames = {
    space: 'grid gap-2 p-2 rounded-md',
    background: 'bg-zinc-50 dark:bg-bgLight', // TODO: Remove
    // background: 'bg-zinc-50 dark:bg-zinc-800',
    borderColor: 'border border-zinc-300 dark:border-transparent',
  }

  return <section className={joinClassNames(classNames)}>{children}</section>
}