marmot_design_ui
raw JSON → 4.0.31 verified Mon Apr 27 auth: no javascript maintenance
Marmot Design UI is a utility library bundled with Rollup, currently at version 4.0.31. It requires antd ^3.26.16 as a peer dependency. The library ships TypeScript types and is designed for React applications using Ant Design v3. Note that antd v3 is quite old (last updated 2021), so this package may be in maintenance mode. There is no published README, so usage details are limited.
Common errors
error Cannot find module 'marmot_design_ui' ↓
cause Package not installed or missing from node_modules.
fix
npm install marmot_design_ui
error Module not found: Can't resolve 'marmot_design_ui' ↓
cause Webpack or bundler cannot resolve the package.
fix
Ensure package is in dependencies and your bundler resolves correctly.
Warnings
deprecated Peer dependency antd v3 is outdated; consider migrating to antd v4 or v5. ↓
fix Update to antd v4+ and check compatibility with this package.
gotcha No README provided – API unclear. Inspect node_modules or source for exported members. ↓
fix Run `npm pack` and extract, or use TypeScript declarations.
breaking Version 4.0.31 may have breaking changes from earlier 4.x versions. No changelog available. ↓
fix Lock version or test upgrade carefully.
Install
npm install marmot_design_ui yarn add marmot_design_ui pnpm add marmot_design_ui Imports
- default import wrong
import * as marmotUI from 'marmot_design_ui'correctimport marmotUI from 'marmot_design_ui' - named import (if any) wrong
const util = require('marmot_design_ui').utilcorrectimport { util } from 'marmot_design_ui' - type import
import type { MarmotType } from 'marmot_design_ui'
Quickstart
// Example assumes default export is a utility object
import antd from 'antd';
import marmotUI from 'marmot_design_ui';
// Ensure antd v3 is installed
const { Button } = antd;
const result = marmotUI.someUtil();
console.log(result);