Files
Trilium/apps/client/src/widgets/ribbon/OwnedAttributesTab.tsx

16 lines
485 B
TypeScript
Raw Normal View History

import AttributeEditor from "./components/AttributeEditor";
import { TabContext } from "./ribbon-interface";
export default function OwnedAttributesTab({ note, notePath, componentId }: TabContext) {
return (
<div className="attribute-list">
{ note && (
<AttributeEditor
componentId={componentId}
note={note}
notePath={notePath}
/>
)}
</div>
)
}