diff --git a/src/Tag.tsx b/src/Tag.tsx deleted file mode 100644 index b68f54c..0000000 --- a/src/Tag.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import { ReactNode } from "react" -import type { TagProps as TagProps_ } from "./types.interface" -import "./Tag.component.scss" - -export interface TagProps extends BaseProps { } - -const Tag = (props: TagProps): ReactNode => { - return
test
-} - -export default Tag diff --git a/src/TypeAhead.tsx b/src/TypeAhead.tsx index 75cb01b..5a174fa 100755 --- a/src/TypeAhead.tsx +++ b/src/TypeAhead.tsx @@ -183,7 +183,7 @@ const TypeAhead = (props: TypeAheadProps): ReactNode => { }) const assistiveContentRender = assistiveContent ? ( - typeof assistiveContent !== "string" && + typeof assistiveContent === "object" && "content" in assistiveContent && "onClick" in assistiveContent ? (