(props: TableQueryProp)
| 44 | } |
| 45 | |
| 46 | export default function TableQuery(props: TableQueryProp) { |
| 47 | const { query = {}, config, setQuery, eventMap = {}} = props; |
| 48 | const fromChild = config.layout.map((rowConfig, index) => { |
| 49 | return genQueryRow(eventMap, rowConfig, query, setQuery, `query-row-${index}`); |
| 50 | }); |
| 51 | return ( |
| 52 | <div className='m-h-24 px-4 flex flex-row flex-wrap'> |
| 53 | { |
| 54 | fromChild |
| 55 | } |
| 56 | </div> |
| 57 | ); |
| 58 | } |
nothing calls this directly
no test coverage detected