@@ -11,14 +11,14 @@ import { Grid, Row, Col, PanelGroup, Panel, IconButton } from 'rsuite';
1111import { AppLayout } from '@/Layout/App' ;
1212import { dataTypeOptions } from '@/app/dummy_generator/facker' ;
1313import type { DataType } from '@/app/dummy_generator/facker' ;
14+ import { AddressOptions } from '@/app/dummy_generator/options/AddressOptions' ;
1415import { NameOptions } from '@/app/dummy_generator/options/NameOptions' ;
1516import { useDummy , RecordType , DummyForm } from '@/app/dummy_generator/useDummy' ;
1617import { FormRow } from '@/components/common/Form/FormRow' ;
1718import { Select } from '@/components/common/Form/Select' ;
1819import { TextArea } from '@/components/common/Form/TextArea' ;
1920import { PageTitle } from '@/components/common/PageTitle' ;
2021import { PanelHeader } from '@/components/common/PanelHeader' ;
21- import { AddressOptions } from '@/app/dummy_generator/options/AddressOptions' ;
2222
2323export const DummyGenerator : FC = ( ) => {
2424 const title = 'ダミー情報の生成' ;
@@ -81,7 +81,7 @@ export const DummyGenerator: FC = () => {
8181 </ Form >
8282 </ Col >
8383 < Col md = { 12 } xs = { 24 } >
84- < Panel bordered header = { < PanelHeader title = "UUID " /> } >
84+ < Panel bordered header = { < PanelHeader title = "テストデータ " /> } >
8585 < TextArea value = { output } readOnly rows = { 20 } />
8686 </ Panel >
8787 </ Col >
@@ -106,13 +106,13 @@ const ConfigRow: FC<{
106106 control = { control }
107107 render = { ( { field : { ref, ...field } } ) => (
108108 < Select
109+ { ...field }
109110 style = { { width : 250 } }
110111 options = { dataTypeOptions as unknown as DefaultOptionType [ ] }
111112 defaultValue = { undefined }
112113 listHeight = { 512 }
113114 listItemHeight = { 12 }
114115 showSearch
115- { ...field }
116116 />
117117 ) }
118118 />
@@ -145,7 +145,7 @@ const Options: FC<{
145145 }
146146} ;
147147
148- const DeleteAction : FC < { key : number ; onClick : any } > = ( { key, onClick } ) => {
148+ const DeleteAction : FC < { key : number ; onClick : ( ) => void } > = ( { key, onClick } ) => {
149149 return (
150150 < Popconfirm title = "本当に削除していいですか?" onConfirm = { onClick } >
151151 < Button icon = { < DeleteOutlined /> } danger />
0 commit comments