Skip to content

Typescript/keyboard #1488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,3 @@ class MyScreen extends Component {
}
}
```

Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import React, {PureComponent} from 'react';
import {ScrollView, StyleSheet} from 'react-native';
import {Text, View, SafeAreaSpacerView} from 'react-native-ui-lib'; //eslint-disable-line
import {Text, View, SafeAreaSpacerView} from 'react-native-ui-lib';

export default class SafeAreaSpacerViewScreen extends PureComponent {

static options() {
return {
topBar: {
drawBehind: true,
visible: false,
},
visible: false
}
};
}

Expand All @@ -19,7 +18,7 @@ export default class SafeAreaSpacerViewScreen extends PureComponent {
<ScrollView contentContainerStyle={styles.scrollView}>
<View paddingH-25 center>
<Text text50 center>
{'When there are absolute-positioned view at the bottom and top,' +
{'When there are absolute-positioned view at the bottom and top,' +
'it is sometimes hard or impossible to change the layout and avoid it.'}
<Text red50> SafeAreaSpacerView </Text>
{'can be used as a BOTTOM or TOP spacer and will get the height of the safe area insets'}
Expand All @@ -43,16 +42,16 @@ const styles = StyleSheet.create({
scrollView: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
justifyContent: 'center'
},
topView: {
position: 'absolute',
top: 0,
left: 0,
left: 0
},
bottomView: {
position: 'absolute',
bottom: 0,
left: 0,
},
left: 0
}
});
112 changes: 0 additions & 112 deletions generatedTypes/components/button/type.d.ts

This file was deleted.

13 changes: 0 additions & 13 deletions generatedTypes/components/expandableListItem/index.d.ts

This file was deleted.

123 changes: 0 additions & 123 deletions generatedTypes/components/radioButton/RadioButton.d.ts

This file was deleted.

50 changes: 0 additions & 50 deletions generatedTypes/components/radioButton/RadioGroup.d.ts

This file was deleted.

14 changes: 0 additions & 14 deletions generatedTypes/components/radioGroup/RadioGroupContext.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions generatedTypes/components/radioGroup/asRadioGroupChild.d.ts

This file was deleted.

Loading