feat: use MUI button

This commit is contained in:
karishmas6
2024-08-21 21:57:41 +05:30
parent c90b80e9ae
commit edb33e9214

View File

@@ -1,5 +1,6 @@
import React, { useCallback, useEffect, useState } from 'react';
import { useSocketStore } from '../../context/socket';
import { Button } from '@mui/material';
import Canvas from "../atoms/canvas";
import { useBrowserDimensionsStore } from "../../context/browserDimensions";
import { Highlighter } from "../atoms/Highlighter";
@@ -240,9 +241,9 @@ export const BrowserWindow = () => {
<div>
<h2>Select Attribute</h2>
{attributeOptions.map((option) => (
<button key={option.value} onClick={() => handleAttributeSelection(option.value)}>
<Button key={option.value} onClick={() => handleAttributeSelection(option.value)}>
{option.label}
</button>
</Button>
))}
</div>