1.0.16 • Published 4 years ago

mereo-component-library v1.0.16

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

mereo-component-library

Description:

Minimal and accessible react components by Mereo Marketing.

Development

Creating a component

File Structure:

. └── src/ └── components/ └── NewComponent/ ├── index.tsx ├── NewComponent.tsx ├── NewComponent.styles.tsx └── NewComponent.stories.tsx

  • index.tsx is used to re-export the component file
  • NewComponent.tsx is the actual component itself
  • NewComponent.styles.tsx is where the styles of the component lives
  • NewComponent.stories.tsx is where the storybook stories are kept

Styling

Currently using emotion as our styling framework. In the styles file of a component create any styled elements using the '@emotion/styled' package. Styled components created should accept many different props for their styling.

Accessibility

React Aria

1.0.16

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago