File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
features/links-page/screens
packages/@aetherspace/styles Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ export const BioScreen = (props: BioScreenProps) => {
250250 <RadioGroup.Option value="value-3" label="Option 3" />
251251 </RadioGroup>
252252
253- <View tw="h-10 " />
253+ <View tw="h-20 " />
254254
255255 {/**/ }
256256 </ View >
Original file line number Diff line number Diff line change 11import { useMemo } from 'react'
2+ // Types
3+ import { TailwindFn } from 'twrnc'
24// Context
35import { useAetherContext } from '../context'
46
57/** --- useTailwindStyles() ------------------------------------------------------------------------ */
68/** -i- React hook to extract style values from your tailwind twrnc theme classnames. */
79export const useTailwindStyles = ( twClasses : string ) => {
810 // Context
9- const { tailwind } = useAetherContext ( )
11+ const aetherContext = useAetherContext ( )
12+
13+ // Vars
14+ const tailwind : TailwindFn = globalThis ?. tailwindFn ?? aetherContext ?. tailwind
1015
1116 // Memoize
1217 const twStyles = useMemo ( ( ) => {
You can’t perform that action at this time.
0 commit comments