import * as React from 'react';
import SimpleButton from '../../../components/SimpleButton';
import { twMerge } from '../../../twMerge';
export const ButtonNew = (props) => {
    return (React.createElement(SimpleButton, { "data-name": "new", tone: props.tone || 'accent', icon: "plus", variant: props.variant || 'raised', tooltip: props.tooltip || 'New', accessLevel: props.accessLevel, onClick: props.onClick, className: twMerge(`twa:flex twa:flex-row twa:items-center`, props.className) }, props.children === undefined ? 'New' : props.children));
};
