@antimatter-audio/antimatter-ui 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,7 +48,13 @@ You should now see your local changes to these components at [http://localhost:3
|
|
|
48
48
|
|
|
49
49
|
### Adding new components
|
|
50
50
|
|
|
51
|
-
If you add a new component to this library, make sure to also add the component to the
|
|
51
|
+
If you add a new component to this library, make sure to also add the component to the demo in **antimatter-plugin-template**.
|
|
52
|
+
|
|
53
|
+
If your new component controls an `AudioProcessorValueTreeState` paramater in Juce, you will need to handle getting and setting that state in your React component, and you will also need to set up a parameter for that state in the demo Juce app in [antimatter-plugin-template](http://github.com/antimatter-audio/antimatter-ui).
|
|
54
|
+
|
|
55
|
+
See `components/Buttons/Button.tsx`, `components/Input/Dropdown.tsx`, and `components/Input/Slider.tsx` for examples of how to get and set Juce's `ToggleState`, `ComboBoxState`, and `SliderState`.
|
|
56
|
+
|
|
57
|
+
See the README file in the `/juce` directory in the [antimatter-plugin-template](http://github.com/antimatter-audio/antimatter-ui) repo for more information on setting up an `AudioProcessorValueTreeState` parameter in the demo app.
|
|
52
58
|
|
|
53
59
|
## Publish
|
|
54
60
|
|