Intermediate prototype state

This commit is contained in:
2022-09-07 22:35:54 +02:00
parent 45cd07fa85
commit 5eac4e7d5a
5 changed files with 178 additions and 21 deletions
+12
View File
@@ -0,0 +1,12 @@
import { Icon } from './Icon.jsx'
export const ToolOverlay = ({ visibility, toggleVisibility }) => (
<div class="overlay">
<button class="icon primary" onClick={toggleVisibility}>
<Icon name={visibility ? 'visibility' : 'visibility_off'} />
</button>
<button class="icon">
<Icon name="close" />
</button>
</div>
)