Skip to content

Commit fbde438

Browse files
committed
Export the interfaces for better documentation and reuse
1 parent e332874 commit fbde438

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/src/client/loader-container/loader-container.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import styles from "./loader-container.module.scss";
22
import { useRGS } from "r18gs";
33
import { LOADER_RGS_KEY } from "../../constants";
44

5-
interface LoaderContainerProps extends React.HTMLProps<HTMLDivElement> {
5+
export interface LoaderContainerProps extends React.HTMLProps<HTMLDivElement> {
66
children?: React.ReactNode;
77
loading?: boolean;
88
}

lib/src/server/common/base/base.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export interface BaseProps extends HTMLProps<HTMLDivElement> {
1111
}
1212

1313
/** Other props - loaderClass is included here as we will extend BaseProps for other loaders */
14-
interface OtherProps {
14+
export interface OtherProps {
1515
/** Loader class name */
1616
loaderClass: string;
1717
dotRadius?: number | string;

lib/src/server/dots/dots2/dots2.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import styles from "./dots2.module.scss";
22
import { Base, BaseProps } from "../../common";
33

4-
interface Dots2Props extends BaseProps {
4+
export interface Dots2Props extends BaseProps {
55
/** Radius of the dots in pixels or a string with a length unit. */
66
dotRadius?: number | string;
77
}

0 commit comments

Comments
 (0)