@rolster/react-components 18.25.2 → 18.25.3
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.
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/index.js +2 -2
- package/dist/es/index.js.map +1 -1
- package/dist/esm/components/organisms/BottomSheet/BottomSheet.d.ts +2 -2
- package/dist/esm/components/organisms/BottomSheet/BottomSheet.js +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RlsComponent } from '../../definitions';
|
|
2
2
|
import './BottomSheet.css';
|
|
3
|
-
interface
|
|
3
|
+
interface BottomSheetProps extends RlsComponent {
|
|
4
4
|
className?: string;
|
|
5
5
|
onAutoClose?: () => void;
|
|
6
6
|
visible?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare function
|
|
8
|
+
export declare function RlsBottomSheet({ children, className, onAutoClose, visible, rlsTheme }: BottomSheetProps): import("react").ReactPortal;
|
|
9
9
|
export {};
|
|
@@ -3,7 +3,7 @@ import { useCallback, useMemo } from 'react';
|
|
|
3
3
|
import ReactDOM from 'react-dom';
|
|
4
4
|
import { renderClassStatus } from '../../../helpers/css';
|
|
5
5
|
import './BottomSheet.css';
|
|
6
|
-
export function
|
|
6
|
+
export function RlsBottomSheet({ children, className, onAutoClose, visible, rlsTheme }) {
|
|
7
7
|
const classNameSheet = useMemo(() => {
|
|
8
8
|
return renderClassStatus('rls-bottom-sheet', { visible }, className);
|
|
9
9
|
}, [className, visible]);
|