feat: Event Type Atom base pr (#16831)
* feat: Event Type Atom base pr * fixup! Merge branch 'main' into chore-event-type-atom-platform-wrapper-base-pr * Update EventTypeWebWrapper.tsx --------- Co-authored-by: Somay Chauhan <[email protected]>
This commit is contained in:
1 parent
ac300ff670
commit
ad347cb59f
29 files changed
+1148
-357
No files matched your search
@@ -25,6 +25,7 @@ export type VerticalTabItemProps = {
|
||||
linkScroll?: boolean;
|
||||
avatar?: string;
|
||||
iconClassName?: string;
|
||||
onClick?: (name: string) => void;
|
||||
};
|
||||
|
||||
const VerticalTabItem = ({
|
||||
@@ -45,6 +46,12 @@ const VerticalTabItem = ({
|
||||
{!props.hidden && (
|
||||
<>
|
||||
<Link
|
||||
onClick={(e) => {
|
||||
if (props.onClick) {
|
||||
e.preventDefault();
|
||||
props.onClick(name);
|
||||
}
|
||||
}}
|
||||
key={name}
|
||||
href={href}
|
||||
shallow={linkShallow}
|
||||
|
||||
Reference in new issue
Block a user