import * as React from 'react'; interface Props { onClick: React.MouseEventHandler; icon?: React.ReactElement; disabled?: boolean; customClass?: string; children: React.ReactNode; } const ActionLink = ({ onClick, icon, disabled = false, customClass, children, }: Props) => ( {icon}{children} ); export default ActionLink;