frontend/src/components/data-table/charts/README.md
In order to maintain a consistent look and feel across all charts, we have a few components that are used to build the charts.
Thin wrappers around @ui components that provide consistent styling and behavior.
Form fields that are used for chart forms. Wraps react-hook-form components
Components that are used to build the charts. Groups together common form fields and layouts.
To keep each component light and avoid prop drilling, we can either use react-hook-form's useFormContext or use to access shared state (context.ts).
Layouts:
Chart Components:
Forms:
Field Components: