import React from 'react';
import { Icon, SemanticColor } from '../../foundation';
import { FABContainer, FABCommonProps } from './FABContainer';
import { useThrottledPressHandler } from '../../internal/utils/useThrottledPressHandler';
import { TouchableHighlight } from 'react-native';
type Props = FABCommonProps & { onPress: () => void };
/**
* ## Floating Action Button - Top 컴포넌트
*
* scroll to top 기능 전용
*
* ## Props
*
* ### `onPress` (필수)
* - 버튼 press 핸들러
*
* ### `layoutStyle`
* - 컴포넌트를 배치하는데 필요한 ViewStyle 모음
*
* ### `throttle`
* - 버튼 throttle 옵션 (사용 방법은 타입정의 문서 참고)
*
*
* ## 사용 예시
* @example
* ```tsx
* // 다른 뷰로 감싸 사용하는 예시
*
*
*
*
* // 단독으로 사용하는 예시
*
* ```
*/
export function FloatingActionButtonTop(props: Props): React.JSX.Element {
const throttledPressHandler = useThrottledPressHandler(props.onPress, props.throttle);
return (
);
}