@td-design/react-native
Version:
react-native UI组件库
10 lines • 556 B
TypeScript
import type { ButtonProps } from '.';
import { PressableProps } from '../pressable';
export default function useButton(props: ButtonProps): {
variant: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "h0" | "h7" | "h8" | "h9" | "p0" | "p1" | "p2" | "p3" | "p4" | "p5" | "p6" | "p7" | "p8" | "p9" | "d0" | "d1" | "d2" | "d3" | "d4" | "d5" | "d6" | "d7" | "d8" | "d9";
textColor: "text_active" | "primary200" | "gray200";
indicatorColor: string;
pressableProps: PressableProps;
loadingIconSize: number;
};
//# sourceMappingURL=useButton.d.ts.map