@td-design/react-native
Version:
react-native UI组件库
20 lines • 489 B
TypeScript
import { NotifyType } from './constant';
import { NotifyProps } from './type';
export default function useNotify(): {
options: (NotifyProps & {
type: NotifyType;
}) | undefined;
shadowColor: string;
bgColor: string;
style: {
transform: {
translateY: number;
}[];
};
visible: boolean;
show: (params: NotifyProps & {
type: NotifyType;
}) => void;
hide: () => void;
};
//# sourceMappingURL=useNotify.d.ts.map