mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
feat(react): basic integration for basic widget & modal
This commit is contained in:
11
apps/client/src/widgets/react/Modal.tsx
Normal file
11
apps/client/src/widgets/react/Modal.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
export default function Modal({ children }) {
|
||||
return (
|
||||
<div className="modal fade mx-auto" tabIndex={-1} role="dialog">
|
||||
<div className="modal-dialog" role="document">
|
||||
<div className="modal-content">
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user