1.0.16 • Published 2 years ago

mereo-component-library v1.0.16

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

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago