Sha256: cf07a1f51c09c4d33ce0317e8cd4a9437cde1b2737943f15d31e05962e67a2a1
Contents?: true
Size: 1.05 KB
Versions: 4
Compression:
Stored size: 1.05 KB
Contents
import React from "react" import { AdvancedTable } from "playbook-ui" import PAGINATION_MOCK_DATA from "./advanced_table_pagination_mock_data.json" const AdvancedTablePagination = (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 ( <> <AdvancedTable columnDefinitions={columnDefinitions} pagination tableData={PAGINATION_MOCK_DATA} {...props} /> </> ) } export default AdvancedTablePagination
Version data entries
4 entries across 4 versions & 2 rubygems