@polymathnetwork/launchpad-ui
TypeScript icon, indicating that this package has built-in type declarations

1.31.0 • Public • Published

launchpad-ui

A component-library and white-label theming solution for launchpad frontend applications

Installation (pre-release)

npm i @polymathnetwork/launchpad-ui@develop

Maintainance and development guide

See directory-structure for reference

  • Put component definitions in src/components/SomeComponent/index.tsx
    • Place sub-components in the parent component directory (e.g. src/components/SomeComponent/PartialComponent.tsx)
  • Put any necessary static styles in src/components/SomeComponent/style.ts
  • If extending theme-ui components, define default styling and variants in src/components/SomeComponent/themeUIVariants.ts

How to add svgs to use as React components

The src/icons/ directory is ignored by git and is generated from the svg files in svg-icons/ directory.

  1. Add the svg file in their respective directory under svg-icons/
  2. Use npm run build-icons to build all icons
# To build separately
npm run transform-svg-icons -- --icons
npm run transform-svg-icons -- --logos
npm run transform-svg-icons -- --flags

Dependents (0)

Package Sidebar

Install

npm i @polymathnetwork/launchpad-ui

Weekly Downloads

62

Version

1.31.0

License

ISC

Unpacked Size

1.24 MB

Total Files

1404

Last publish

Collaborators

  • wahidrahim
  • vandaad
  • polymath.network
  • polymathdevops
  • fahdw