From 370c7249589e320b82a5702fd2a0112d21072716 Mon Sep 17 00:00:00 2001 From: Clay Plumridge Date: Mon, 23 Mar 2020 12:59:40 -0400 Subject: [PATCH] Fix DropdownProps type intersections --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 44689f8d24a..4d1881d1b03 100644 --- a/index.d.ts +++ b/index.d.ts @@ -145,7 +145,7 @@ declare module '@primer/components' { export const StyledOcticon: React.FunctionComponent - export interface DropdownProps extends React.Props, StyledSystem.ColorProps, StyledSystem.SpaceProps, ButtonProps { + export interface DropdownProps extends React.Props, StyledSystem.ColorProps, StyledSystem.SpaceProps, Omit { as?: React.ReactType title?: string | React.ReactNode }