import React from 'react'; import { TextButton, ITextButtonProps } from '../TextButton/TextButton'; import { IButtonBaseProps } from '../_private/ButtonBase/ButtonBase'; interface TextButtonExternalProps extends ITextButtonProps { href?: string; /** Undefined defaults to underlineOnHover, to stop all underlines, set explicitly to false */ underline?: boolean; padding?: IButtonBaseProps['padding']; } const TextButtonExternal = (props: TextButtonExternalProps) => { const { children, href, onClick, privateOptions, underline, padding = 'none', ...otherProps } = props; return ( {children} ); }; export default TextButtonExternal;