Sha256: c0331b27c03b714e0069c4ac4b517eab08ebbbd0616f13ae18b623aa2b6040e1

Contents?: true

Size: 1006 Bytes

Versions: 114

Compression:

Stored size: 1006 Bytes

Contents

import React from "react";
import { AdvancedTable } from "../../";
import { MOCK_DATA } from "./_mock_data";

const AdvancedTableDefault = (props) => {
  const columnDefinitions = [
    {
      accessor: "year",
      label: "Year",
      cellAccessors: ["quarter", "month", "day"],
    },
    {
      accessor: "newEnrollments",
      label: "New Enrollments",
    },
    {
      accessor: "scheduledMeetings",
      label: "Scheduled Meetings",
    },
    {
      accessor: "attendanceRate",
      label: "Attendance Rate",
    },
    {
      accessor: "completedClasses",
      label: "Completed Classes",
    },
    {
      accessor: "classCompletionRate",
      label: "Class Completion Rate",
    },
    {
      accessor: "graduatedStudents",
      label: "Graduated Students",
    },
  ];

  return (
    <div>
      <AdvancedTable
          columnDefinitions={columnDefinitions}
          tableData={MOCK_DATA}
          {...props}
      />
    </div>
  );
};

export default AdvancedTableDefault;

Version data entries

114 entries across 114 versions & 2 rubygems

Version Path
playbook_ui_docs-13.18.0.pre.alpha.dependabotnpmandyarntypescripteslintparser56202194 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui-13.18.0.pre.alpha.dependabotnpmandyarntypescripteslintparser56202194 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui_docs-13.18.0.pre.alpha.PLAY12062192 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui-13.18.0.pre.alpha.PLAY12062192 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui_docs-13.18.0.pre.alpha.useexactnodejsversionghactions2183 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2183 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui_docs-13.18.0.pre.alpha.useexactnodejsversionghactions2181 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2181 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui_docs-13.18.0.pre.alpha.useexactnodejsversionghactions2180 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2180 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui_docs-13.18.0.pre.alpha.useexactnodejsversionghactions2179 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2179 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui_docs-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2178 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2178 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui_docs-13.18.0.pre.alpha.PLAY12062177 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui-13.18.0.pre.alpha.PLAY12062177 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui_docs-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2176 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2176 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui_docs-13.18.0.pre.alpha.dependabotnpmandyarnpowerhomeplaybookicons001alpha52175 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
playbook_ui-13.18.0.pre.alpha.dependabotnpmandyarnpowerhomeplaybookicons001alpha52175 app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx