We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e509bf8 commit bd0bae2Copy full SHA for bd0bae2
src/components/Banner.tsx
@@ -33,10 +33,11 @@ type Props = $RemoveChildren<typeof Surface> & {
33
*
34
* To customize button you can pass other props that button component takes.
35
*/
36
- actions: Array<{
37
- label: string;
38
- onPress: () => void;
39
- }>;
+ actions: Array<
+ {
+ label: string;
+ } & Omit<React.ComponentProps<typeof Button>, 'children'>
40
+ >;
41
/**
42
* Style of banner's inner content.
43
* Use this prop to apply custom width for wide layouts.
0 commit comments