Skip to content

Maya-AQSS/shared-dashboard-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@ceedcv-maya/shared-dashboard-react

Dashboard primitives for React: configurable widget grid (react-grid-layout), widget registry, persistence helpers.

Part of the ceedcv-maya/maya_platform mono-repo. Distributed independently for reuse outside the Maya ecosystem.

Installation

npm install @ceedcv-maya/shared-dashboard-react react-grid-layout
import { DashboardGrid, registerWidget } from '@ceedcv-maya/shared-dashboard-react'

registerWidget('weather', WeatherWidget)

export function Home() {
  return <DashboardGrid layout={savedLayout} onChange={persist} />
}

TypeScript / build notes

This package ships TypeScript source (src/index.ts as entry). Consumers using Vite or Webpack with ts-loader work out of the box. Next.js consumers must add this package to transpilePackages in next.config.js.

License

MIT — see LICENSE.

Reporting issues

The canonical source lives in Maya-AQSS/maya_platform. File issues there; this read-only split repo is only the published artifact.

About

Read-only mirror of packages/js/shared-dashboard-react from maya-platform. Do NOT PR here — open issues and PRs at https://github.com/Maya-AQSS/maya-platform

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors