Add Read "raw_content" contentEditable Element & Edit
This commit is contained in:
@@ -1,16 +1,21 @@
|
||||
import { clsn } from "~utils";
|
||||
import { IconBack } from "~assets/icons";
|
||||
import type { ReactNode, PropsWithChildren } from "react";
|
||||
|
||||
import styles from "./tab.module.less";
|
||||
|
||||
interface TabProps extends PropsWithChildren {
|
||||
className: string;
|
||||
}
|
||||
|
||||
interface HeaderProps {
|
||||
title: ReactNode;
|
||||
onBack: () => void;
|
||||
}
|
||||
|
||||
function Tab({ children }: PropsWithChildren) {
|
||||
function Tab({ className, children }: TabProps) {
|
||||
return (
|
||||
<div className={styles.tab}>
|
||||
<div className={clsn(styles.tab, className)}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user