aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/generativeFill/GenerativeFillButtons.tsx
diff options
context:
space:
mode:
authorEric <ericmabr@gmail.com>2023-08-26 16:23:19 -0400
committerEric <ericmabr@gmail.com>2023-08-26 16:23:19 -0400
commit1ef04d7deab76558e69fa251ff71d37d4033d567 (patch)
treed7bd88f2c2d44e7eb6d9f1b102923b47617cb169 /src/client/views/nodes/generativeFill/GenerativeFillButtons.tsx
parent5c6eaeffb93af172ca9e33b76fd2301d29366578 (diff)
parent8f43a98c363ff541070b100a2d4e10e505df6969 (diff)
Merge branch 'UI_Update_Eric_Ma' of https://github.com/brown-dash/Dash-Web into UI_Update_Eric_Ma
Diffstat (limited to 'src/client/views/nodes/generativeFill/GenerativeFillButtons.tsx')
-rw-r--r--src/client/views/nodes/generativeFill/GenerativeFillButtons.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/nodes/generativeFill/GenerativeFillButtons.tsx b/src/client/views/nodes/generativeFill/GenerativeFillButtons.tsx
index 0dfcebea3..10eca358e 100644
--- a/src/client/views/nodes/generativeFill/GenerativeFillButtons.tsx
+++ b/src/client/views/nodes/generativeFill/GenerativeFillButtons.tsx
@@ -2,7 +2,8 @@ import './GenerativeFillButtons.scss';
import React = require('react');
import ReactLoading from 'react-loading';
import { activeColor } from './generativeFillUtils/generativeFillConstants';
-import { Button, Type } from 'browndash-components';
+import { Button, IconButton, Type } from 'browndash-components';
+import { AiOutlineInfo } from 'react-icons/ai';
interface ButtonContainerProps {
getEdit: () => Promise<void>;
@@ -35,6 +36,7 @@ const Buttons = ({ loading, getEdit, onReset }: ButtonContainerProps) => {
}}
/>
)}
+ <IconButton type={Type.SEC} color={activeColor} tooltip="Open Documentation" icon={<AiOutlineInfo size={'16px'} />} onClick={() => window.open('https://brown-dash.github.io/Dash-Documentation/features/generativeai/#editing', '_blank')} />
</div>
);
};