@modul/mbui 0.0.60-beta-pv-54250-d6e308a3 → 0.0.60-beta-pv-54250-08334023
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/Chip/Chip.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare const chipVariants: (props?: {
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "primary" | "secondary" | "success" | "primary-outline" | "outline" | "ghost";
|
|
5
5
|
size?: "lg" | "md" | "sm" | "xs" | "xxs";
|
|
6
6
|
} & import("class-variance-authority/dist/types").ClassProp) => string;
|
|
7
7
|
export interface IChipProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof chipVariants> {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
interface UseInfiniteScrollProps {
|
|
2
|
-
onLoadUp?: () =>
|
|
2
|
+
onLoadUp?: () => void;
|
|
3
3
|
onLoadDown?: () => void;
|
|
4
|
-
disableUpCorrection?: boolean;
|
|
5
4
|
}
|
|
6
|
-
export declare const useInfiniteScroll: ({ onLoadUp, onLoadDown
|
|
5
|
+
export declare const useInfiniteScroll: ({ onLoadUp, onLoadDown }: UseInfiniteScrollProps) => {
|
|
7
6
|
containerRef: import("react").RefObject<HTMLDivElement>;
|
|
8
7
|
};
|
|
9
8
|
export {};
|