initial layout
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export * from "./ui/Modal"
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
import type { ModalProps } from "react-bootstrap/Modal"
|
||||
|
||||
export interface IModalProps extends ModalProps {}
|
||||
@@ -0,0 +1,13 @@
|
||||
"use client"
|
||||
|
||||
import type { IModalProps } from "../model/Modal.d"
|
||||
import type { JSX } from "react"
|
||||
|
||||
import { forwardRef } from "react"
|
||||
import BootstrapModal from "react-bootstrap/Modal"
|
||||
|
||||
export const Modal = forwardRef<HTMLDivElement, IModalProps>(
|
||||
(props, ref): JSX.Element => <BootstrapModal ref={ref} {...props} />,
|
||||
)
|
||||
|
||||
Modal.displayName = "Modal"
|
||||
Reference in New Issue
Block a user