+
+
Hello, world!
+
+
+
+
+
+
+ {
+ if (error) {
+ setError("");
+ } else {
+ setError("some generic error");
+ }
+ }}
+ >
+ primary
+
+ {
+ if (error) {
+ setError("");
+ } else {
+ setError("some generic error");
+ }
+ }}
+ >
+ test input{" "}
+
+ secondary
+
+
+
+
+
+
+
+
+
+
{
+ accordionRef.current?.toggle();
+ }}
+ >
+ Click to toggle accordion
+
+
+
+
+
+
+
+
+
+
+
+