Skip to content

Commit

Permalink
feat: ⚛ upd. Footer, add constant
Browse files Browse the repository at this point in the history
+ FOOTER_HEIGHT

#65
  • Loading branch information
zheleznov163 committed Sep 12, 2022
1 parent 9906917 commit dc01aae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion components/atoms/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ export default ({ Center, Left, Right, style }: Props) => (
</View>
)

export const FOOTER_HEIGHT = 56

const styles = StyleSheet.create({
container: {
flexDirection: "row",
marginHorizontal: 30,
height: 56,
height: FOOTER_HEIGHT,
alignItems: "center",
justifyContent: "space-between",
},
Expand Down
2 changes: 1 addition & 1 deletion components/atoms/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ export { default as Header } from "./Header"
export { default as GradientText } from "./GradientText"
export { default as Switch } from "./Switch"
export { default as Loader } from "./Loader"
export { default as Footer } from "./Footer"
export { default as Footer, FOOTER_HEIGHT } from "./Footer"
export { default as Agreement } from "./Agreement"
export { default as Shadow } from "./Shadow"

0 comments on commit dc01aae

Please sign in to comment.