mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update frontend.md
This commit is contained in:
parent
b787811da8
commit
707d0e13bd
@ -21,7 +21,7 @@ Generally we follow the Airbnb [React Style Guide](https://github.com/airbnb/ja
|
||||
|
||||
* Components and types that needs to be used by external plugins needs to go into @grafana/ui
|
||||
* Components should get their own folder under features/xxx/components
|
||||
* Sub components can live in that component folders, so not small component needs their own folder
|
||||
* Sub components can live in that component folders, so small component do not need their own folder
|
||||
* Place test next to their component file (same dir)
|
||||
* Mocks in __mocks__ dir
|
||||
* Test utils in __tests__ dir
|
||||
|
Loading…
Reference in New Issue
Block a user