![JAR search and dependency download from the Maven repository](/logo.png)
components.dashboard.LastTask.js Maven / Gradle / Ivy
/**
* Тест таблицы
*/
import React from 'react';
import Table from "n2o-framework/lib/components/widgets/Table/Table";
import TextTableHeader from 'n2o-framework/lib/components/widgets/Table/headers/TextTableHeader';
import TextCell from 'n2o-framework/lib/components/widgets/Table/cells/TextCell/TextCell';
import ProgressBarCell from 'n2o-framework/lib/components/widgets/Table/cells/ProgressBarCell/ProgressBarCell';
import IconCell from 'n2o-framework/lib/components/widgets/Table/cells/IconCell/IconCell';
const tableData = [
{id: "1", task: "Добавить компонент Input", progress: "15", tags: 'N2O', date: "15.03.2018"},
{id: "2", task: "Загрузить пакет иконок", progress: "65", tags: 'React', date: "12.03.2018"},
{id: "3", task: "Рефакторинг модели виджетов", progress: "30", tags: 'Java', date: "07.03.2018"},
{id: "4", task: "Удалить возможность сохранения статуса задачи", progress: "87", tags: 'XML', date: "05.03.2018"},
{id: "5", task: "Внедрить Bootstrap 4", progress: "51", tags: 'JavaScript', date: "04.03.2018"},
];
const progressColor = {
"1": "danger",
"2": "warning",
"3": "danger",
"4": "success",
"5": "warning",
};
class LastTask extends React.Component {
render() {
return (
{
tableData.map((data) => (
{data['tags']}
))
}
)
}
}
export default LastTask;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy