Fixes, cleanup from first PR reread
This commit is contained in:
@@ -42,7 +42,7 @@ const cards = [
|
||||
const GoldenRatio = () => {
|
||||
const screenSize = useBreakpointValue({ base: 'small', md: 'big' });
|
||||
const isPhone = screenSize === 'small';
|
||||
// return (<GoldenRatioPanel direction='column' header={<>r</>}>test</GoldenRatioPanel>)
|
||||
|
||||
return (
|
||||
<GoldenRatioPanel
|
||||
direction={isPhone ? 'column' : 'row'}
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import { View, ViewStyle } from 'react-native';
|
||||
|
||||
const bigSideRatio = 1000;
|
||||
const smallSideRatio = 618;
|
||||
|
||||
const bigSizePercent = '61.8%';
|
||||
const smallSizePercent = '38.2%';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user