UNPKG

component-library-mustafa-akagunduz-obss

Version:

Air Command System projesi için geliştirilmiş React component kütüphanesi

16 lines (15 loc) 506 B
import { jsx as r } from 'react/jsx-runtime'; const o = ({ children: o, onClick: t, disabled: e = !1, variant: i = 'primary', }) => r('button', { onClick: t, disabled: e, className: `px-4 py-2 rounded font-medium transition-colors duration-200 ${'primary' === i ? 'bg-blue-600 text-white hover:bg-blue-700' : 'bg-gray-300 text-black hover:bg-gray-400'} ${e ? 'opacity-50 cursor-not-allowed' : ''}`, children: o, }); export { o as Button }; //# sourceMappingURL=index.esm.js.map