diff --git a/example/src/pages/FooterWithButton.tsx b/example/src/pages/FooterWithButton.tsx index b83d3f5d..4c500489 100644 --- a/example/src/pages/FooterWithButton.tsx +++ b/example/src/pages/FooterWithButton.tsx @@ -24,7 +24,6 @@ export const FooterWithButton = () => ( primary={{ type: "Solid", buttonProps: { - fullWidth: true, color: "primary", accessibilityLabel: "primary button", onPress: constVoid, @@ -35,7 +34,6 @@ export const FooterWithButton = () => ( type: "Outline", buttonProps: { color: "primary", - fullWidth: true, accessibilityLabel: "secondary button", onPress: constVoid, label: "Secondary button" diff --git a/src/components/layout/BlockButtons.tsx b/src/components/layout/BlockButtons.tsx index fdb80e2e..c32e6ad1 100644 --- a/src/components/layout/BlockButtons.tsx +++ b/src/components/layout/BlockButtons.tsx @@ -23,7 +23,7 @@ type CommonProps = Readonly<{ export type BlockButtonProps = { type: "Solid" | "Outline"; - buttonProps: ButtonSolidProps; + buttonProps: Omit; }; /** @@ -125,9 +125,9 @@ export const BlockButtons = (props: Props) => { ) => ( {props.type === "Solid" ? ( - + ) : ( - + )} );