dem-design

0.4.10 • Public • Published

dem-design

Digital Edu Management UI Components.

📦 Installation

npm install dem-design

🚀 Usage

import React from "react";
import { Tree } from "dem-design";
import "dem-design/styles/global.css"; // CSS file

const treeData = [
  {
    title: "Root",
    key: "0",
    children: [
      { title: "Child 1", key: "0-0" },
      { title: "Child 2", key: "0-1" },
    ],
  },
];

const App = () => {
  return <Tree treeData={treeData} />;
};

export default App;

🔧 Compatibility

  • This project works with React version 18.2.0.

⌨️ Development

Git Clone

git clone https://github.com/temuujin-0/dem-design.git or git@github.com:temuujin-0/dem-design.git

Git Publish

git add .
git commit -m "any"
git pull origin main
git push origin main

🏗Build

npm run build

✨Version update

npm version patch  # Small fixes
npm version minor  # New features
npm version major  # Breaking changes

🌍Publish Public

npm publish --access public

🔨Conflicting Packages Fixing

rm -rf node_modules package-lock.json
npm cache clean --force
npm -f install

📜 License

Distributed under the MIT License.

Package Sidebar

Install

npm i dem-design

Weekly Downloads

112

Version

0.4.10

License

MIT

Unpacked Size

6.66 MB

Total Files

11

Last publish

Collaborators

  • temuujin.o