
* feat: decouple package deps and introduce yarn workspaces * update root directory * fix * fix scripts * fix lint * update path in scripts * remove yarn.lock files from packages * ignore workspace * dummy * dummy * remove comment check * revert workflow changes * ignore ws when installing gh actions * remove log * update path * fix * fix typo
18 lines
358 B
TypeScript
18 lines
358 B
TypeScript
import * as RadixTabs from "@radix-ui/react-tabs";
|
|
|
|
export const TTDDialogTab = ({
|
|
tab,
|
|
children,
|
|
...rest
|
|
}: {
|
|
tab: string;
|
|
children: React.ReactNode;
|
|
} & React.HTMLAttributes<HTMLDivElement>) => {
|
|
return (
|
|
<RadixTabs.Content {...rest} value={tab}>
|
|
{children}
|
|
</RadixTabs.Content>
|
|
);
|
|
};
|
|
TTDDialogTab.displayName = "TTDDialogTab";
|