Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions skills/objectui/guides/auth-permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@ it makes `${!flag}` permanently `false` and shows the button to everyone:
```tsx
import { usePermissions } from '@object-ui/permissions'
import { PredicateScopeProvider, SchemaRenderer } from '@object-ui/react'
import type { BaseSchema } from '@object-ui/types'
import type { SchemaRendererProps } from '@object-ui/react'

declare const schema: BaseSchema
declare const schema: SchemaRendererProps['schema']

function ContactsPage() {
const permissions = usePermissions()
Expand Down
4 changes: 2 additions & 2 deletions skills/objectui/guides/data-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ as an ambient **scope** instead — that is the channel `bind` and `${…}` read
<!-- os:check -->
```tsx
import { PredicateScopeProvider, SchemaRenderer } from '@object-ui/react'
import type { BaseSchema } from '@object-ui/types'
import type { SchemaRendererProps } from '@object-ui/react'

declare const schema: BaseSchema
declare const schema: SchemaRendererProps['schema']

const staticData = {
customers: [
Expand Down
4 changes: 2 additions & 2 deletions skills/objectui/guides/schema-expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ Every key of the `scope` you hand it becomes a root the evaluator can read:
<!-- os:check -->
```tsx
import { PredicateScopeProvider, SchemaRenderer } from '@object-ui/react'
import type { BaseSchema } from '@object-ui/types'
import type { SchemaRendererProps } from '@object-ui/react'

declare const schema: BaseSchema
declare const schema: SchemaRendererProps['schema']

// Every name here becomes a root this page's expressions can read — `data`
// included, which is now a name YOU publish rather than one the renderer binds.
Expand Down
Loading