This repository has been archived by the owner on Mar 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP on new add contact screen * Wip on searching and displaying Textile contacts * Increase wait time for now * Render add contact search bar above list for now * Local contacts search integration * Mostly working Textile contact adding * Clean up log statements * WIP on MessageComposer * Working on invite * Move store link to .env * Clean up Button usage * Little clean up
- Loading branch information
Showing
42 changed files
with
1,074 additions
and
619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import React from 'react' | ||
import { ViewStyle } from 'react-native' | ||
import Button from './Button' | ||
import * as s from '../Themes/Constants' | ||
|
||
interface Props { | ||
text: string | ||
style?: ViewStyle | ||
disabled?: boolean | ||
processing?: boolean | ||
onPress?: () => void | ||
} | ||
|
||
const button = (props: Props) => { | ||
const { text, onPress, style, processing } = props | ||
return ( | ||
<Button | ||
text={text} | ||
textStyle={{ | ||
fontFamily: 'Biotif-Bold', | ||
fontSize: 16, | ||
letterSpacing: 3, | ||
paddingLeft: 3, | ||
textTransform: 'uppercase' | ||
}} | ||
style={{ | ||
...style, | ||
paddingHorizontal: s.SPACING_24, | ||
paddingVertical: s.SPACING_12, | ||
backgroundColor: s.COLOR_BRAND_BLUE | ||
}} | ||
processing={processing} | ||
disabled={props.disabled} | ||
onPress={onPress} | ||
/> | ||
) | ||
} | ||
|
||
export default button |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import React from 'react' | ||
import Button from './Button' | ||
import * as s from '../Themes/Constants' | ||
|
||
interface Props { | ||
text: string | ||
disabled?: boolean | ||
onPress?: () => void | ||
} | ||
|
||
const button = (props: Props) => { | ||
const { text, onPress } = props | ||
return ( | ||
<Button | ||
text={text} | ||
textStyle={{ | ||
fontFamily: 'Biotif-Bold', | ||
fontSize: 10, | ||
letterSpacing: 2, | ||
paddingLeft: 2, | ||
textTransform: 'uppercase' | ||
}} | ||
style={{ | ||
paddingHorizontal: 8, | ||
paddingVertical: 4, | ||
backgroundColor: s.COLOR_BRAND_BLUE | ||
}} | ||
disabled={props.disabled} | ||
onPress={onPress} | ||
/> | ||
) | ||
} | ||
|
||
export default button |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.