github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/ui/dashboard/src/components/forms/NeutralButton/index.tsx (about) 1 import Button, { ButtonProps } from "../Button"; 2 import { classNames } from "../../../utils/styles"; 3 4 const NeutralButton = ({ 5 children, 6 className = "", 7 disabled = false, 8 onClick, 9 size = "md", 10 title, 11 type, 12 }: ButtonProps) => ( 13 <Button 14 className={classNames( 15 "bg-dashboard-panel border border-black-scale-2 text-light hover:bg-black-scale-2 hover:border-black-scale-2 disabled:bg-dashboard disabled:text-light", 16 className 17 )} 18 disabled={disabled} 19 onClick={onClick} 20 size={size} 21 title={title} 22 type={type} 23 > 24 {children} 25 </Button> 26 ); 27 28 export default NeutralButton;