alouette
Version:
A modern, customizable design system built on top of NativeWind v5 with configurable defaults
16 lines • 719 B
TypeScript
import type { ReactNode } from "react";
/**
* React Native's own: `Text` sets it and `View` resets it, so a Text inside an
* inline View — which breaks native style inheritance — reads false.
*/
export { unstable_TextAncestorContext as TextAncestorContext } from "react-native";
interface TextAncestorScopeProps {
children: ReactNode;
}
/**
* React Native's `Text` already provides the context to its children. Never
* provide it around one: a `Text` that reads `true` renders a virtual text
* with no host view of its own, so a root Text would draw nothing.
*/
export declare function TextAncestorScope({ children, }: TextAncestorScopeProps): ReactNode;
//# sourceMappingURL=TextAncestorContext.d.ts.map