Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beasy-mobile
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
G
beasy-mobile
Commits
f6e90ad9
Commit
f6e90ad9
authored
Apr 25, 2024
by
G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lint
parent
86766551
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
11 deletions
+4
-11
App.tsx
App.tsx
+1
-4
Button.tsx
src/components/Button.tsx
+0
-2
HomeUserNotLoggedIn.tsx
src/screens/HomeUserNotLoggedIn.tsx
+1
-2
UserLoginScreen.tsx
src/screens/UserLoginScreen.tsx
+1
-1
Variants.tsx
src/themes/Variants.tsx
+1
-2
No files found.
App.tsx
View file @
f6e90ad9
import
theme
from
"@/themes/Theme"
;
import
theme
from
"@/themes/Theme"
;
import
Card
from
"@components/Card"
;
import
Text
from
"@components/bases/Text"
;
import
HomeUserNotLoggedIn
from
"@screens/HomeUserNotLoggedIn"
;
import
UserLoginScreen
from
"@screens/UserLoginScreen"
;
import
UserLoginScreen
from
"@screens/UserLoginScreen"
;
import
{
ThemeProvider
}
from
"@shopify/restyle"
;
import
{
ThemeProvider
}
from
"@shopify/restyle"
;
import
{
StatusBar
}
from
"expo-status-bar"
;
import
{
StatusBar
}
from
"expo-status-bar"
;
import
{
StyleSheet
,
View
}
from
"react-native"
;
import
{
StyleSheet
}
from
"react-native"
;
export
default
function
App
()
{
export
default
function
App
()
{
return
(
return
(
...
...
src/components/Button.tsx
View file @
f6e90ad9
import
type
{
BoxProps
,
VariantProps
}
from
"@shopify/restyle"
;
import
type
{
BoxProps
,
VariantProps
}
from
"@shopify/restyle"
;
import
type
{
Theme
}
from
"@themes/Theme"
;
import
type
{
Theme
}
from
"@themes/Theme"
;
import
{
TouchableOpacity
}
from
"react-native"
;
import
{
TouchableOpacity
}
from
"react-native"
;
import
Card
from
"./Card"
;
import
Box
from
"./bases/Box"
;
import
ButtonBase
from
"./bases/ButtonBase"
;
import
ButtonBase
from
"./bases/ButtonBase"
;
import
Text
from
"./bases/Text"
;
import
Text
from
"./bases/Text"
;
...
...
src/screens/HomeUserNotLoggedIn.tsx
View file @
f6e90ad9
import
Button
from
"@components/Button"
;
import
Button
from
"@components/Button"
;
import
Card
from
"@components/Card"
;
import
Box
from
"@components/bases/Box"
;
import
Box
from
"@components/bases/Box"
;
import
Text
from
"@components/bases/Text"
;
import
Text
from
"@components/bases/Text"
;
import
{
Dimensions
,
Image
,
StyleSheet
,
View
}
from
"react-native"
;
import
{
Image
,
StyleSheet
}
from
"react-native"
;
const
HomeUserNotLoggedIn
=
()
=>
{
const
HomeUserNotLoggedIn
=
()
=>
{
return
(
return
(
<
Box
style=
{
style
.
container
}
p=
{
"xl"
}
>
<
Box
style=
{
style
.
container
}
p=
{
"xl"
}
>
...
...
src/screens/UserLoginScreen.tsx
View file @
f6e90ad9
...
@@ -3,7 +3,7 @@ import Input from "@components/Input";
...
@@ -3,7 +3,7 @@ import Input from "@components/Input";
import
Box
from
"@components/bases/Box"
;
import
Box
from
"@components/bases/Box"
;
import
Text
from
"@components/bases/Text"
;
import
Text
from
"@components/bases/Text"
;
import
{
containers
}
from
"@styles/Commons"
;
import
{
containers
}
from
"@styles/Commons"
;
import
{
KeyboardAvoidingView
,
Platform
,
TextInput
,
View
}
from
"react-native"
;
import
{
KeyboardAvoidingView
,
Platform
,
View
}
from
"react-native"
;
const
UserLoginScreen
=
()
=>
{
const
UserLoginScreen
=
()
=>
{
return
(
return
(
...
...
src/themes/Variants.tsx
View file @
f6e90ad9
import
Box
from
"@components/bases/Box"
;
import
{
createVariant
}
from
"@shopify/restyle"
;
import
{
type
VariantProps
,
createRestyleComponent
,
createVariant
}
from
"@shopify/restyle"
;
import
type
{
Theme
}
from
"@themes/Theme"
;
import
type
{
Theme
}
from
"@themes/Theme"
;
export
const
cardVariants
=
createVariant
<
Theme
,
"cardVariants"
>
({
export
const
cardVariants
=
createVariant
<
Theme
,
"cardVariants"
>
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment