Experiment with virtualization and Framer Motion

This commit is contained in:
Tobias Fried
2020-07-19 17:51:35 -04:00
parent e1dfe6aed1
commit 016e6d987b
13 changed files with 195 additions and 11154 deletions

View File

@@ -34,7 +34,7 @@ const Toolbar: React.FC<ToolbarProps> = () => {
}
return (
<>
<div style={{ position: "sticky", top: 0, padding: 8, backgroundColor: "white", zIndex: 1.1 }}>
<input value={query} onChange={handleSearchChange} />
<select value={style?.toString()} onChange={handleStyleChange}>
<option value={""}>All</option>
@@ -47,7 +47,7 @@ const Toolbar: React.FC<ToolbarProps> = () => {
</select>
<input value={size} type="range" min={12} max={256} onChange={handleSizeChange}/>
<input type="color" onChange={handleColorChange}/>
</>
</div>
);
}