delacour 0.0.1-alpha.0 → 0.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -3
- package/dist/index.js +9549 -9411
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -121,15 +121,22 @@ never written to it.
|
|
|
121
121
|
|
|
122
122
|
## After `init`
|
|
123
123
|
|
|
124
|
-
Three things need a human, because each is a decision inside a file you own
|
|
124
|
+
Three things need a human, because each is a decision inside a file you own. `init` copies the
|
|
125
|
+
`provider` item in alongside `styles`, so the root every pressable needs is one import away — but
|
|
126
|
+
mounting it is an edit to your layout, and that stays yours:
|
|
125
127
|
|
|
126
128
|
```tsx
|
|
127
129
|
// app/_layout.tsx
|
|
128
130
|
import "@/styles/global.css";
|
|
129
|
-
import {
|
|
131
|
+
import { DelacourProvider } from "@/components/ui/provider";
|
|
132
|
+
import { Stack } from "expo-router";
|
|
130
133
|
|
|
131
134
|
export default function RootLayout() {
|
|
132
|
-
return
|
|
135
|
+
return (
|
|
136
|
+
<DelacourProvider>
|
|
137
|
+
<Stack />
|
|
138
|
+
</DelacourProvider>
|
|
139
|
+
);
|
|
133
140
|
}
|
|
134
141
|
```
|
|
135
142
|
|