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 ( <>
{moduleData.header.map((data) => ( ))} {moduleData.rows.map((row) => ( <> {moduleData.header.map((header) => ( <> {header.type === 'color-box' && ( )} {header.type === 'check' && ( )} {header.type && header.type !== 'color-box' && header.type !== 'check' && } ))} ))}
{data.type === 'check' ? (
) : ( data.name )}
{row[header.prop].name}
{row[header.prop].name}
{getMessage('modal.module.basic.setting.pitch.module.placement.standard.setting')}
割り当て設定
{getMessage('modal.module.basic.setting.pitch.module.row.amount')}
mm
{getMessage('modal.module.basic.setting.pitch.module.row.margin')}
mm
{getMessage('modal.module.basic.setting.pitch.module.column.amount')}
mm
{getMessage('modal.module.basic.setting.pitch.module.column.margin')}
mm
{getMessage('modal.module.basic.setting.pitch.module.allocation.setting.info')}
) }