mirror of
https://github.com/zadam/trilium.git
synced 2025-12-24 00:59:55 +01:00
16 lines
485 B
TypeScript
16 lines
485 B
TypeScript
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>
|
|
)
|
|
} |