Skip to content

Commit

Permalink
chore: updated default background & handle styling
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Dec 1, 2020
1 parent 2e77932 commit 783642b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/bottomSheet/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ export type BottomSheetProps = {
* @see {BottomSheetHandleProps}
* @type React.FC\<BottomSheetHandleProps\>
*/
handleComponent?: React.FC<BottomSheetHandleProps>;
handleComponent?: React.FC<BottomSheetHandleProps> | null;
/**
* Component to be placed as a sheet background.
* @type React.FC\<BottomSheetBackgroundProps\>
*/
backgroundComponent?: React.FC<BottomSheetBackgroundProps>;
backgroundComponent?: React.FC<BottomSheetBackgroundProps> | null;
/**
* A scrollable node or normal view.
* @type React.ReactNode[] | React.ReactNode
Expand Down
2 changes: 2 additions & 0 deletions src/components/defaultBackground/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ export const styles = StyleSheet.create({
right: 0,
bottom: -100,
backgroundColor: 'white',
borderTopLeftRadius: 15,
borderTopRightRadius: 15,
},
});
3 changes: 0 additions & 3 deletions src/components/defaultHandle/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ const { width: windowWidth } = Dimensions.get('window');
export const styles = StyleSheet.create({
container: {
padding: 10,
borderTopLeftRadius: 15,
borderTopRightRadius: 15,
backgroundColor: 'white',
},

indicator: {
Expand Down

0 comments on commit 783642b

Please sign in to comment.