Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.02 KB

index.mdx

File metadata and controls

71 lines (58 loc) · 2.02 KB
name route
Introduction
/

import { Playground, Props } from 'docz' import README from './README.md' import { Hint } from '@nejcm/docz-theme-extended';

digmaker-ui

digimaker-ui provides react ui components for Digimaker CMF. It provides features like create, edit, delete, actions and other editorial features.

Check our sample projects

Installation

npm -i digimaker-ui

// Note. for npm version > 7 you may need to run
// npm -i digimaker-ui --legacy-peer-deps

Read Use digimaker-ui for how to use it.

Read extend actions and implement your own field types.

Common components

// import example
import {Main} from 'digimaker-ui';
Component Description
List List contents
Main Main page for editorial site
DMInit Initialize all components
TreeNode Show content in tree
Browse Browse contents
util Utility
RenderFields Rendering fields in view/edit mode
FileUpload Upload file to server

Actions

//import example
import {Delete} from 'digimaker-ui/actions';
Action Description Note
Delete Delete content
Copy Copy a content
Move Move content
SetPriority Set priority
SetToTop Set to top
Filter Filter above list
User
DisableUser Diable/Enable current user

Action for routing

Note: It's not possible to configure below to action, but with wrapper(eg. dialog to implemment `ActionProps`) it's possible.
Action Description
Create Create a content
Edit Edit a content