Disable buttons that can't be used yet

Also make construction message hidable.
related to #360
This commit is contained in:
Kurt Hutten
2021-06-12 19:49:36 +10:00
parent 6b4ff7aa61
commit cd94f11374
5 changed files with 35 additions and 17 deletions

View File

@@ -21,8 +21,9 @@ const EditorMenu = () => {
<Svg name='drag-grid' className="w-4 p-px" />
</div>
<button
className="text-gray-300 px-3 h-full"
className="text-gray-300 px-3 h-full cursor-not-allowed"
aria-label="editor settings"
disabled
>
<Svg name='gear' className="w-7 p-px" />
</button>
@@ -32,10 +33,10 @@ const EditorMenu = () => {
handleRender={handleRender}
handleStlDownload={handleStlDownload}
/>
<button className="text-gray-100">
<button className="text-gray-100 cursor-not-allowed" disabled>
Edit
</button>
<button className="text-gray-100">
<button className="text-gray-100 cursor-not-allowed" disabled>
View
</button>
</div>