lab5 folder create
This commit is contained in:
18
labs/lab5/src/components/TableHead.jsx
Normal file
18
labs/lab5/src/components/TableHead.jsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import TableRow from './TableRow.jsx';
|
||||
|
||||
/*
|
||||
компонент, для вывода thead таблицы
|
||||
пропсы:
|
||||
head - данные для шапки таблицы в виде массива
|
||||
*/
|
||||
const TableHead = (props) => {
|
||||
return (
|
||||
<thead>
|
||||
<tr>
|
||||
<TableRow row={ props.head } isHead="1"/>
|
||||
</tr>
|
||||
</thead>
|
||||
)
|
||||
}
|
||||
|
||||
export default TableHead;
|
||||
Reference in New Issue
Block a user