From 125e42651661f242befb6dc953dde1f5a4d6f18d Mon Sep 17 00:00:00 2001 From: Carwyn Stephen Date: Sat, 13 Dec 2025 17:15:21 +0100 Subject: [PATCH] chore(docs): fix css var hook name --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 555a67a..39bc268 100644 --- a/README.md +++ b/README.md @@ -176,15 +176,15 @@ export default function App() { > This hook may not support all features of the library. > This hooks does not support container queries or inheritance for children elements. -#### `useNativeCssVariable` +#### `useNativeVariable` -If you just require a CSS variable value, you can use the `useNativeCssVariable` hook: +If you just require a CSS variable value, you can use the `useNativeVariable` hook: ```ts -import { useNativeCssVariable } from 'react-native-css'; +import { useNativeVariable } from 'react-native-css'; export default function App() { - const myColor = useNativeCssVariable("--my-color"); + const myColor = useNativeVariable("--my-color"); return (