import { memo } from 'react' import Button, { type BtnProps } from '@/components/common/Button' import Text from '@/components/common/Text' import { useTheme } from '@/store/theme/hook' import { createStyle } from '@/utils/tools' export type ButtonProps = BtnProps export default memo(({ disabled, onPress, children }: ButtonProps) => { const theme = useTheme() return ( ) }) const styles = createStyle({ button: { paddingLeft: 10, paddingRight: 10, paddingTop: 5, paddingBottom: 5, borderRadius: 4, marginRight: 10, }, })