Skip to content

Commit

Permalink
fix: added use client
Browse files Browse the repository at this point in the history
to themed
  • Loading branch information
Viraj Ajay Joshi authored and Viraj Ajay Joshi committed Mar 26, 2024
1 parent 3bf3708 commit 0ebf46d
Show file tree
Hide file tree
Showing 50 changed files with 50 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import React from 'react';
import { Box, Center } from '@gluestack-ui/themed';
import { StyledProvider, useColorMode } from '@gluestack-style/react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { createAccordion } from '@gluestack-ui/accordion';
import { AsForwarder, styled } from '@gluestack-style/react';
import { View, Pressable, Text, Platform } from 'react-native';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { H1, H2, H3, H4, H5, H6 } from '@expo/html-elements';
import {
AnimatePresence,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import {
AnimatePresence,
AnimatedView,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { AsForwarder, styled } from '@gluestack-style/react';
import { createAlert } from '@gluestack-ui/alert';
import { View, Text } from 'react-native';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use client';
import { createAvatar } from '@gluestack-ui/avatar';

import { styled } from '@gluestack-style/react';
import { View, Text, Image } from 'react-native';
const StyledRoot = styled(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { AsForwarder, styled } from '@gluestack-style/react';
import { Text, View } from 'react-native';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { View } from 'react-native';

import { styled } from '@gluestack-style/react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use client';
import { ActivityIndicator, Pressable, Text, View } from 'react-native';

import { createButton } from '@gluestack-ui/button';
import { AsForwarder, styled } from '@gluestack-style/react';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { View } from 'react-native';
import { styled } from '@gluestack-style/react';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { View } from 'react-native';
import { styled } from '@gluestack-style/react';
const StyledRoot = styled(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { createCheckbox } from '@gluestack-ui/checkbox';
import { View, Pressable, Text } from 'react-native';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { createDivider } from '@gluestack-ui/divider';
import { styled } from '@gluestack-style/react';
import { View } from 'react-native';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { AsForwarder, styled } from '@gluestack-style/react';
import { createFab } from '@gluestack-ui/fab';
import { Text } from 'react-native';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { FlatList as RNFlatList } from 'react-native';
import { styled, useStyled, propertyTokenMap } from '@gluestack-style/react';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { Text, View } from 'react-native';

import { styled } from '@gluestack-style/react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { AnimationResolver } from '@gluestack-style/animation-resolver';
import { MotionAnimationDriver } from '@gluestack-style/legend-motion-animation-driver';
import { createConfig } from '@gluestack-style/react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import React from 'react';
import { createProvider } from '@gluestack-ui/provider';
import { StyledProvider } from '@gluestack-style/react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { styled } from '@gluestack-style/react';
import { H1, H2, H3, H4, H5, H6 } from '@expo/html-elements';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use client';
import { View } from 'react-native';

import { styled } from '@gluestack-style/react';

const StyledRoot = styled(View, {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import React from 'react';
import { createIcon } from '@gluestack-ui/icon';
import { styled, AsForwarder } from '@gluestack-style/react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { styled } from '@gluestack-style/react';
import { ImageBackground as RNImageBackground } from 'react-native';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { createImage } from '@gluestack-ui/image';
import { Image as RNImage } from 'react-native';
import { styled } from '@gluestack-style/react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { styled } from '@gluestack-style/react';
import { InputAccessoryView as RNInputAccessoryView } from 'react-native';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { createInput } from '@gluestack-ui/input';
import { styled, AsForwarder } from '@gluestack-style/react';
import { View, Pressable, TextInput } from 'react-native';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { styled, useStyled } from '@gluestack-style/react';
import { KeyboardAvoidingView as RNKeyboardAvoidingView } from 'react-native';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { styled } from '@gluestack-style/react';
import { View } from 'react-native';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { styled } from '@gluestack-style/react';
import { createLink } from '@gluestack-ui/link';
import { Pressable, Text } from 'react-native';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { AnimatePresence } from '@gluestack-style/animation-resolver';
import { createMenu } from '@gluestack-ui/menu';
import { styled } from '@gluestack-style/react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { createModal } from '@gluestack-ui/modal';
import {
AnimatePresence,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { View, ScrollView, Pressable } from 'react-native';
import { styled } from '@gluestack-style/react';
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { styled } from '@gluestack-style/react';
import { Pressable as RNPressable } from 'react-native';
import { createPressable } from '@gluestack-ui/pressable';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { styled } from '@gluestack-style/react';
import { createProgress } from '@gluestack-ui/progress';
import { View } from 'react-native';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { createRadio } from '@gluestack-ui/radio';
import { Pressable, View, Platform, Text } from 'react-native';
import { styled, AsForwarder } from '@gluestack-style/react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { styled } from '@gluestack-style/react';
import { RefreshControl as RNRefreshControl } from 'react-native';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use client';
import { SafeAreaView as RNSafeAreaView } from 'react-native';

import { styled } from '@gluestack-style/react';

const StyledRoot = styled(RNSafeAreaView);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { ScrollView as RNScrollView } from 'react-native';

import { styled, useStyled, propertyTokenMap } from '@gluestack-style/react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
'use client';
export { SectionList } from 'react-native';
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { H1, H2, H3, H4, H5, H6 } from '@expo/html-elements';
import {
AnimatePresence,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { styled } from '@gluestack-style/react';
import { createSlider } from '@gluestack-ui/slider';
import { Pressable } from 'react-native';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { ActivityIndicator } from 'react-native';
import { styled } from '@gluestack-style/react';
import { createSpinner } from '@gluestack-ui/spinner';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { styled } from '@gluestack-style/react';
import { StatusBar as RNStatusBar } from 'react-native';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { styled } from '@gluestack-style/react';
import { Switch as RNSwitch } from 'react-native';
import { createSwitch } from '@gluestack-ui/switch';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { Text as RNText } from 'react-native';
import { styled } from '@gluestack-style/react';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use client';
import { createTextarea } from '@gluestack-ui/textarea';

import { View, TextInput } from 'react-native';
import { styled } from '@gluestack-style/react';
const StyledRoot = styled(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { createToast, createToastHook } from '@gluestack-ui/toast';
import {
AnimatePresence,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { createTooltip } from '@gluestack-ui/tooltip';
import {
AnimatePresence,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
'use client';
export { View } from 'react-native';
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
'use client';
export { VirtualizedList } from 'react-native';
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import { styled } from '@gluestack-style/react';
import { View } from 'react-native';

Expand Down

0 comments on commit 0ebf46d

Please sign in to comment.