import './GenerativeFillButtons.scss'; import * as React from 'react'; import ReactLoading from 'react-loading'; import { Button, IconButton, Type } from '@dash/components'; import { AiOutlineInfo } from 'react-icons/ai'; import { bgColor } from './imageEditorUtils/imageEditorConstants'; import { ImageEditTool, ImageToolType } from './imageEditorUtils/imageEditorInterfaces'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { SettingsManager } from '../../../util/SettingsManager'; interface ButtonContainerProps { onClick: () => Promise; loading: boolean; onReset: () => void; btnText: string; } export function ApplyFuncButtons({ loading, onClick: getEdit, onReset, btnText }: ButtonContainerProps) { return (
); } export function ImageToolButton(tool: ImageEditTool, isActive: boolean, selectTool: (type: ImageToolType) => void) { return (
); }