tycho-components 0.2.3-SNAPSHOT-7 → 0.2.3-SNAPSHOT-8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,6 @@
1
1
  import './style.scss';
2
- export default function AppLoading(): import("react/jsx-runtime").JSX.Element;
2
+ type Props = {
3
+ className?: string;
4
+ };
5
+ export default function AppLoading({ className }: Props): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import ReactLoading from 'react-loading';
3
3
  import './style.scss';
4
- export default function AppLoading() {
5
- return (_jsx("div", { className: "loading-container", children: _jsx(ReactLoading, { type: "spinningBubbles", color: "blue", height: 50, width: 50 }) }));
4
+ export default function AppLoading({ className = '' }) {
5
+ return (_jsx("div", { className: `loading-container ${className}`, children: _jsx(ReactLoading, { type: "spinningBubbles", color: "blue", height: 50, width: 50 }) }));
6
6
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tycho-components",
3
3
  "private": false,
4
- "version": "0.2.3-SNAPSHOT-7",
4
+ "version": "0.2.3-SNAPSHOT-8",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {