New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@dear-ui/all

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dear-ui/all

Base on React's UI lib. Make frontend's dev simpler and faster.

latest
Source
npmnpm
Version
4.0.0-alpha1
Version published
Maintainers
1
Created
Source

@dear-ui

Base on React's UI lib. Make frontend's dev simpler and faster.

Support

  • Client side render React App
  • Server side render React App (like Gatsby, Next)

Getting started

yarn add @dear-ui/all @mini-code/base-func unistore

Use in project

import React from 'react';
import ReactDOM from 'react-dom';
import { ShowModal, CloseModal } from '@dear-ui/all/core/modal';
import { Button } from '@dear-ui/all/core/button';

const handleClick = (e) => {
  const ModalID = ShowModal({
    title: 'Overlay',
    elem: e,
    children: (
      <div>Content</div>
    )
  })

  // CloseModal(ModalID)
}

const App = () => (
  <Button onClick={handleClick}>
    Overlay
  </Button>
)

ReactDOM.render(<App />, document.querySelector('#Main'));

Local dev

git clone https://github.com/minimal-studio/dear-ui
cd dear-ui
yarn
yarn docz:dev

Reference

  • Online Doc
  • FormGenerator
  • CHANGELOG
  • UI logic of FormGenerator
  • Components Desc

Keywords

UI

FAQs

Package last updated on 30 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts