src/components/Toolbar.tsx hinzugefügt

This commit is contained in:
ds
2026-06-28 18:40:08 +00:00
parent e4779a2599
commit ae25e7c67e
+28
View File
@@ -0,0 +1,28 @@
import React from "react";
export default function Toolbar({
regex,
setRegex,
live,
setLive
}) {
return (
<div style={{ marginTop: 10 }}>
<input
placeholder="Regex filter..."
value={regex}
onChange={(e) => setRegex(e.target.value)}
style={{ width: "100%" }}
/>
<label>
<input
type="checkbox"
checked={live}
onChange={(e) => setLive(e.target.checked)}
/>
Live
</label>
</div>
);
}