Sha256: 1b1abda45a21bc8d96cb8bd42b2f5836a444bd5accabc60591f5f453bde24fc3
Contents?: true
Size: 999 Bytes
Versions: 22
Compression:
Stored size: 999 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
22 entries across 22 versions & 2 rubygems