import { useMessage } from '@/hooks/useMessage' export default function PitchPlacement() { const { getMessage } = useMessage() const moduleData = { header: [ { type: 'check', name: '', prop: 'check', width: 70 }, { type: 'color-box', name: getMessage('module'), prop: 'module' }, { type: 'text', name: `${getMessage('output')} (W)`, prop: 'output', width: 70 }, ], rows: [ { check: false, module: { name: 'Re.RISE-G3 440', color: '#AA6768' }, output: { name: '440' }, }, { check: false, module: { name: 'Re.RISE MS-G3 290', color: '#67A2AA', }, output: { name: '240' }, }, ], } return ( <>
|
{data.type === 'check' ? (
|
))}
||
|---|---|---|
|
{row[header.prop].name}
|
)}
{header.type === 'check' && (
|
)}
{header.type && header.type !== 'color-box' && header.type !== 'check' && {row[header.prop].name} | } > ))}