copy folder to complete hw

This commit is contained in:
2026-04-03 00:29:40 +10:00
parent 5aa559e99f
commit abe69ecefc
18 changed files with 3130 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
/*
компонент, для вывода строки таблицы
пропсы:
row - данные для формирования ячеек строки таблицы в виде массива
isHead - 0 - если формируются ячейки td, 1 - если формируются ячейки th
*/
const TableRow = (props) => {
const cells = (props.isHead == "0")
? props.row.map((item, index) => <td key={ index }> {item} </td>)
: props.row.map((item, index) => <th key={ index }> {item} </th>);
return(
<> {cells} </>
)
}
export default TableRow;