simplify pressable changes

This commit is contained in:
Hailey
2024-10-02 10:56:19 -07:00
parent b0c0aee904
commit 84d32e3a95
6 changed files with 144 additions and 9 deletions
+12
View File
@@ -0,0 +1,12 @@
import React from 'react'
import {Button, ButtonProps} from '#/components/Button'
import {NormalizedPressable} from '#/components/NormalizedPressable'
export function BottomSheetButton({children, ...rest}: ButtonProps) {
return (
<Button {...rest} Component={NormalizedPressable}>
{children}
</Button>
)
}