phase2 / outline

Tooling infrastructure for modern web component development.
https://outline.phase2tech.com
MIT License
128 stars 27 forks source link

chore: add best practices for extending components #308

Closed shaal closed 2 years ago

shaal commented 2 years ago

Description

Added the following text to "Extending Components" storybook documentation -

## Best Practices
Whenever a `.ts` file requires an update, it's recommended to extend that element to a specific element of your design system.
ie. when customizing the button component functionality beyond CSS styling, extend `outline-button` to `acme-button`.

Type of change

Please delete options that are not relevant.

Checklist