1.0.16 • Published 3 years ago

mereo-component-library v1.0.16

Weekly downloads
-
License
MIT
Repository
-
Last release
3 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

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago