Notify story creator for replies

This commit is contained in:
Jamie Kyle 2022-10-11 10:59:02 -07:00 committed by GitHub
parent 512d655d32
commit 25bc16300c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 250 additions and 135 deletions

View file

@ -11,19 +11,9 @@ type PropsType = {
children: (renderProps: { selectedTab: string }) => ReactNode;
} & TabsOptionsType;
export const Tabs = ({
children,
initialSelectedTab,
moduleClassName,
onTabChange,
tabs,
}: PropsType): JSX.Element => {
const { selectedTab, tabsHeaderElement } = useTabs({
initialSelectedTab,
moduleClassName,
onTabChange,
tabs,
});
export const Tabs = (props: PropsType): JSX.Element => {
const { children, ...options } = props;
const { selectedTab, tabsHeaderElement } = useTabs(options);
return (
<>