@epilot/base-elements
TypeScript icon, indicating that this package has built-in type declarations

3.9.14 • Public • Published

@epilot/base-elements

General purpose React components for epilot UI elements.

base-elements.dev.epilot.io

Based on Material UI

Quick start

yarn
yarn start

Storybook

yarn run storybook
yarn run build-storybook

Run locally on http://localhost:5500/bundle.js

Contributing MDX (markdown documentation)

Add a .stories.mdx file alongside the story (example: stories/Progress.design.stories.mdx)

Add a <Meta> tag as follows:

import { Meta } from '@storybook/addon-docs';
import { Progress } from '../src';

<Meta title='Elements/Feedback/Progress/Design' component={Progress} />;

Pass the component you're documenting, as well as a title according to where you want your story to show up in navigation:

Example navigation

You can then add your documentation with markdown, embedded stories and images, as shown in this full example:

import { Canvas, Meta, Story } from '@storybook/addon-docs';
import { Progress } from '../src'

<Meta
  title="Elements/Feedback/Progress/Design"
  component={Progress}
/>

# Progress Indicator

Embedded story
<Canvas>
  <Story id="elements-feedback-progress--circular-progress-indeterminade-story" />
</Canvas>

Here is an image using Markdown:

![My image](/img/progress-image-demo.png)

Here is an image using MDX:

<img src="/img/progress-image-demo.png" alt="My image" />

Readme

Keywords

none

Package Sidebar

Install

npm i @epilot/base-elements

Weekly Downloads

784

Version

3.9.14

License

MIT

Unpacked Size

7.13 MB

Total Files

511

Last publish

Collaborators

  • gokul.kalaikovan.epilot
  • berni-epilot
  • julian.maurer
  • danuta.ludwikowska
  • epilot-blomqma
  • priit.parna
  • jpcbarros
  • epilot.ernesto
  • thisisernesto
  • nadyehmad
  • karl.epilot
  • aleksandr.lapushkin
  • manikandan.subramanian
  • jakub.duras.epilot
  • mp-polarsquad
  • mateus.nardo
  • diogo.f.marques
  • praneetro
  • epilot-keremnalbant
  • rossepilot
  • kate.astrid
  • juan.villamizar
  • j.carneiro
  • sebas.sauer
  • wmolinari
  • vladcrishan
  • alexmarqs
  • julian01
  • daniel-bot.epilot
  • a.kedia
  • sureshkumars
  • dusty48
  • paulo.henriques
  • mohannad7
  • epilot-dev-tools
  • nishugoel
  • sumanth.kanakala
  • anttiviljami
  • j.pinho