import { colors } from '@/config/tabler'; type Color = { name: string value: string variable?: string } export default function ColorsTable({ name }: { name: string }) { if (!colors[name]) { return null; } return (
{colors[name].map((color: Color, i: number) => (
{color.name}
{color.value}
{/*
*/} {/* {color.variable}*/} {/*
*/}
))}
); }