import { useSafeAreaInsets } from 'react-native-safe-area-context'; import { View } from 'react-native'; import { getBottomFixedButtonHeight } from './utils'; import { Gradient, SemanticColor } from '../../foundation'; import React from 'react'; import { Button } from '../button/Button'; import { TwoButtonProp } from './BottomFixedButton'; /** * BottomFixedButton 구성요소 */ export function TwoButtonType(props: TwoButtonProp) { const { bottom } = useSafeAreaInsets(); return ( ); } function PrimaryButton(props: TwoButtonProp) { const flex = (() => { switch (props.type) { case 'two_button_2to8': return 1; case 'two_button_5to5': return 1; case 'two_button_3to7': return 7; } })(); return (