import "./ButtonNode.css"; import { ButtonIcon } from "components/Icons/ButtonIcons"; import { FC } from "react"; import { ButtonNodeProps } from "./types"; import { Handle, Position } from "react-flow-renderer"; import { Button } from "components/Inputs/Buttons/Button"; export const ButtonNode: FC = ({ height, width, icon, flipped, onClick, text, }) => { const inner = ( <> {icon} ); return (
{!text ? ( ) : ( )}
); };