1 import { Badge } from "@medusajs/ui"
2
3 type CellProps = {
4 code: string
5 }
6
7 type HeaderProps = {
8 text: string
9 }
10
11 export const CodeCell = ({ code }: CellProps) => {
12 return (
13 <div className="flex h-full w-full items-center gap-x-3 overflow-hidden">
14 <Badge size="2xsmall" className="truncate">
15 {code}
16 </Badge>
17 </div>
18 )
19 }
20
21 export const CodeHeader = ({ text }: HeaderProps) => {
22 return (
23 <div className=" flex h-full w-full items-center ">
24 <span>{text}</span>
25 </div>
26 )
27 }