JSPM

@salutejs/plasma-asdk

0.2.0-canary.835.6798474328.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8625
  • Score
    100M100P100Q139526F
  • License MIT

Salute Design System / React UI kit for Assistant web applications

Package Exports

  • @salutejs/plasma-asdk
  • @salutejs/plasma-asdk/es/index.js
  • @salutejs/plasma-asdk/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@salutejs/plasma-asdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Библиотека компонентов Plasma ASDK

Реализация компонентов для создания веб-приложений.

plasma-ui

Использование

Компоненты реализованы на typescript с помощью react и styled-components;

Использование данного пакета предполагает использование react & react-dom; Использование styled-components на проект не обязательно, также как и использование typescript. Но для того чтобы комопненты работали styled-components необходимо установить.

Установка пакета

$ npm install --save react react-dom
$ npm install --save styled-components
$ npm install --save @salutejs/plasma-asdk @salutejs/plasma-icons

Использование компонентов

Все компоненты доступны из папки components или напрямую из пакета:

// App.tsx
import { Button } from '@salutejs/plasma-asdk';

export const App = () => {
    return <Button>Hello, Plasma!</Button>;
};