reactive-bulma 1.1.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  interface ButtonProps {
3
- text: string;
3
+ text?: string;
4
4
  }
5
5
  declare const Button: React.FC<ButtonProps>;
6
6
  export default Button;
@@ -1,2 +1,2 @@
1
- import "../../node_modules/bulma/css/bulma.min.css";
1
+ import '../../node_modules/bulma/css/bulma.min.css';
2
2
  export { default as Button } from './Button';
package/dist/esm/index.js CHANGED
@@ -2838,7 +2838,7 @@ function requireReact_development () {
2838
2838
 
2839
2839
  var React = /*@__PURE__*/getDefaultExportFromCjs(reactExports);
2840
2840
 
2841
- const Button = ({ text = '' }) => React.createElement("button", { className: "button" }, text);
2841
+ const Button = ({ text = '' }) => (React.createElement("button", { className: 'button' }, text));
2842
2842
 
2843
2843
  export { Button };
2844
2844
  //# sourceMappingURL=index.js.map