Skip to content
Merged
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
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,10 @@ function App() {

### Component styling

Pass styles with the `sheet()` function to components that accept [`StyleXStyles`](https://stylexjs.com/docs/api/types/StyleXStyles).
Pass styles with the `sheet()` function to components that accept `StyleDeck`

```tsx
import { apply, sheet } from 'vicinage'
import type { StyleXStyles } from '@stylexjs/stylex'
import { apply, sheet, type StyleDeck } from 'vicinage'

function Feed() {
return (
Expand All @@ -126,7 +125,7 @@ function Feed() {
)
}

function Post({ style }: { style?: StyleXStyles }) {
function Post({ style }: { style?: StyleDeck }) {
return (
<div
{...apply(
Expand Down