, "">;
export function ArticleInteractionButtons({
isAbstractOpen = false,
children,
openAbstract = () => { },
className,
articleID,
emphasis = "high", //to change displaying of component
...props
}: ArticleButtonProps) {
const abstractButton = (
);
const fileInteractionButtons = interactionButtonsStore.map((button) => {
return (
button.title === 'Read file' ?
:
);
});
return (
{emphasis === "low" && !children ? abstractButton : null}
{children ? children : fileInteractionButtons}
);
}
ArticleInteractionButtons.displayName = "ArticleInteractionButtons";