Home
last modified time | relevance | path

Searched refs:asChild (Results 1 – 13 of 13) sorted by relevance

/expo/packages/expo-router/src/link/
H A DLink.tsx18 asChild?: boolean;
51 * @param props.asChild Forward props to child component. Useful for custom buttons.
63 asChild,
86 asChild ? Slot : Text,
/expo/packages/expo-router/build/link/
H A DLink.d.ts8 asChild?: boolean; property
H A DLink.js66 asChild, ...rest }, ref) {
82 asChild ? react_slot_1.Slot : react_native_1.Text, {
H A DLink.js.map1asChild?: boolean;\n\n /** Should replace the current route without adding to the history. */\n …
/expo/packages/expo-router/build/layouts/
H A DTabs.js31 …Link, { ...props, style: [{ display: 'flex' }, props.style], href: href, asChild: react_native_1.P…
H A DTabs.js.map1 …y: 'flex' }, props.style]}\n href={href}\n asChild={Platform.OS !== …
/expo/templates/expo-template-tabs/app/(tabs)/
H A D_layout.tsx31 <Link href="/modal" asChild>
/expo/packages/expo-router/src/layouts/
H A DTabs.tsx45 asChild={Platform.OS !== 'web'}
/expo/packages/expo-router/build/views/
H A DSitemap.js99 }, style: { flex: 1, display: 'flex' }, disabled: disabled, asChild: true, property
H A DSitemap.js.map1 …{{ flex: 1, display: 'flex' }}\n disabled={disabled}\n asChild\n // Ens…
/expo/docs/pages/routing/
H A Dnavigating-pages.mdx40 … but not always desired. You can customize the component by passing the `asChild` prop, which will…
50 <Link href="/other" asChild>
/expo/packages/expo-router/src/views/
H A DSitemap.tsx154 asChild
/expo/docs/pages/router/migrate/
H A Dfrom-react-navigation.mdx227 … control the child component. This isn't necessary in Expo Router, instead, use the `asChild` prop.