Sha256: 467a2b21481f58b7e6a2e1bd865824d6690ba87630950c8d850f779f79975ec4
Contents?: true
Size: 1.1 KB
Versions: 22
Compression:
Stored size: 1.1 KB
Contents
import React from "react" import { AdvancedTable } from "../../" import { MOCK_DATA } from "./_mock_data" const AdvancedTableCollapsibleTrail = (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} > <AdvancedTable.Header /> <AdvancedTable.Body collapsibleTrail={false} /> </AdvancedTable> </div> ) } export default AdvancedTableCollapsibleTrail
Version data entries
22 entries across 22 versions & 2 rubygems