mirror of
https://github.com/status-im/status-components.git
synced 2025-01-11 18:34:07 +00:00
reverted changes to files that aren't apart of the #13 issue
This commit is contained in:
parent
ebcb52ba5e
commit
63ac7ae18d
@ -57,13 +57,7 @@ class Button extends React.Component {
|
||||
onPress={onPress}
|
||||
accessibilityLabel={accessibilityLabel}
|
||||
>
|
||||
<Text
|
||||
style={[
|
||||
styles.text,
|
||||
main && styles.textMain,
|
||||
disabled && styles.textDisabled,
|
||||
]}
|
||||
>
|
||||
<Text style={[styles.text, main && styles.textMain, disabled && styles.textDisabled]}>
|
||||
{title}
|
||||
</Text>
|
||||
</TouchableHighlight>
|
||||
|
@ -5,10 +5,11 @@ import {
|
||||
StyleSheet,
|
||||
Text,
|
||||
View,
|
||||
TextInput,
|
||||
TouchableOpacity,
|
||||
} from 'react-native'
|
||||
|
||||
import TextInput from './TextInput'
|
||||
|
||||
// Theme
|
||||
import theme from '../theme'
|
||||
|
||||
@ -20,7 +21,6 @@ const styles = StyleSheet.create({
|
||||
alignItems: 'center',
|
||||
flexWrap: 'wrap',
|
||||
justifyContent: 'center',
|
||||
backgroundColor: colors.main.white.rgb,
|
||||
borderRadius: 8,
|
||||
marginVertical: 16,
|
||||
marginHorizontal: 16,
|
||||
@ -37,7 +37,7 @@ const styles = StyleSheet.create({
|
||||
},
|
||||
})
|
||||
|
||||
class SearchInput extends React.Component {
|
||||
class SearchInput extends TextInput {
|
||||
render() {
|
||||
const { text } = this.props
|
||||
|
||||
|
@ -54,6 +54,7 @@ storiesOf('TextInput', module)
|
||||
label="Textarea label"
|
||||
multiLine={true}
|
||||
autoFocus={false}
|
||||
placeholder={'Placeholder'}
|
||||
/>
|
||||
</View>
|
||||
))
|
||||
|
@ -10,7 +10,7 @@ export default {
|
||||
tera: '32px',
|
||||
peta: '40px',
|
||||
exa: '48px',
|
||||
zetta: '56px',
|
||||
zetta: '56px'
|
||||
},
|
||||
|
||||
colors: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user