feat: get text description
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import React, { ReactNode } from 'react';
|
import React, { ReactNode } from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { PaginationType, useActionContext, LimitType } from '../../context/browserActions';
|
import { PaginationType, useActionContext, LimitType } from '../../context/browserActions';
|
||||||
|
import Typography from "@mui/material/Typography";
|
||||||
|
|
||||||
const CustomBoxContainer = styled.div`
|
const CustomBoxContainer = styled.div`
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -33,7 +34,12 @@ const ActionDescriptionBox = () => {
|
|||||||
|
|
||||||
const renderActionDescription = () => {
|
const renderActionDescription = () => {
|
||||||
if (getText) {
|
if (getText) {
|
||||||
return <p>Getting text...</p>;
|
return (
|
||||||
|
<>
|
||||||
|
<Typography variant="h6" gutterBottom>Capture Text</Typography>
|
||||||
|
<Typography variant="body1" gutterBottom>Hover over the texts you want to extract and click to select them</Typography>
|
||||||
|
</>
|
||||||
|
)
|
||||||
} else if (getScreenshot) {
|
} else if (getScreenshot) {
|
||||||
return <p>Getting screenshot...</p>;
|
return <p>Getting screenshot...</p>;
|
||||||
} else if (getList) {
|
} else if (getList) {
|
||||||
|
|||||||
Reference in New Issue
Block a user