Searched refs:asChild (Results 1 – 13 of 13) sorted by relevance
| /expo/packages/expo-router/src/link/ |
| H A D | Link.tsx | 18 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 D | Link.d.ts | 8 asChild?: boolean; property
|
| H A D | Link.js | 66 asChild, ...rest }, ref) { 82 asChild ? react_slot_1.Slot : react_native_1.Text, {
|
| H A D | Link.js.map | 1 …asChild?: boolean;\n\n /** Should replace the current route without adding to the history. */\n …
|
| /expo/packages/expo-router/build/layouts/ |
| H A D | Tabs.js | 31 …Link, { ...props, style: [{ display: 'flex' }, props.style], href: href, asChild: react_native_1.P…
|
| H A D | Tabs.js.map | 1 …y: 'flex' }, props.style]}\n href={href}\n asChild={Platform.OS !== …
|
| /expo/templates/expo-template-tabs/app/(tabs)/ |
| H A D | _layout.tsx | 31 <Link href="/modal" asChild>
|
| /expo/packages/expo-router/src/layouts/ |
| H A D | Tabs.tsx | 45 asChild={Platform.OS !== 'web'}
|
| /expo/packages/expo-router/build/views/ |
| H A D | Sitemap.js | 99 }, style: { flex: 1, display: 'flex' }, disabled: disabled, asChild: true, property
|
| H A D | Sitemap.js.map | 1 …{{ flex: 1, display: 'flex' }}\n disabled={disabled}\n asChild\n // Ens…
|
| /expo/docs/pages/routing/ |
| H A D | navigating-pages.mdx | 40 … 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 D | Sitemap.tsx | 154 asChild
|
| /expo/docs/pages/router/migrate/ |
| H A D | from-react-navigation.mdx | 227 … control the child component. This isn't necessary in Expo Router, instead, use the `asChild` prop.
|