From e1a37a8c9e47a2e96b79e4ddaac713329283934c Mon Sep 17 00:00:00 2001 From: "Chabib N." Date: Thu, 4 Jun 2026 12:30:38 +0700 Subject: [PATCH] fix: update README --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 65240a5..f283eaa 100644 --- a/README.md +++ b/README.md @@ -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 ( @@ -126,7 +125,7 @@ function Feed() { ) } -function Post({ style }: { style?: StyleXStyles }) { +function Post({ style }: { style?: StyleDeck }) { return (