alouette
Version:
A modern, customizable design system built on top of NativeWind v5 with configurable defaults
18 lines (15 loc) • 511 B
text/typescript
import type { ForwardedRef } from "react";
import type { View as RNView } from "react-native";
import type { PressableBoxVariant } from "./PressableBox";
export interface TonalGroundWarningParams {
variant: PressableBoxVariant | undefined;
disabled: boolean;
forced: boolean;
}
/** Web-only: native exposes no computed style to compare grounds with. */
export function useTonalGroundWarningRef(
ref: ForwardedRef<RNView>,
_params: TonalGroundWarningParams,
): ForwardedRef<RNView> {
return ref;
}