Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
98f52161a3 | |||
b4c547d9cb | |||
df24f7cb3e |
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"image": "node:18-bullseye",
|
"image": "node:18-bullseye",
|
||||||
"remoteUser": "1000"
|
"remoteUser": "1000",
|
||||||
|
"appPort": [3000, "60888:3000"]
|
||||||
}
|
}
|
||||||
|
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"remote.localPortHost": "allInterfaces"
|
||||||
|
}
|
@ -1,6 +1,9 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
|
// images: {
|
||||||
|
// loader: "custom"
|
||||||
|
// },
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = nextConfig
|
module.exports = nextConfig
|
||||||
|
File diff suppressed because one or more lines are too long
53
pages/login.tsx
Normal file
53
pages/login.tsx
Normal file
File diff suppressed because one or more lines are too long
30
pages/test.tsx
Normal file
30
pages/test.tsx
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
import { NextPage } from "next";
|
||||||
|
import {
|
||||||
|
Button,
|
||||||
|
Col,
|
||||||
|
Container,
|
||||||
|
OverlayTrigger,
|
||||||
|
Popover,
|
||||||
|
} from "react-bootstrap";
|
||||||
|
|
||||||
|
const popover = (
|
||||||
|
<Popover id="mypop">
|
||||||
|
<Popover.Header as="h3">Right Popover</Popover.Header>
|
||||||
|
<Popover.Body>My Something special.</Popover.Body>
|
||||||
|
</Popover>
|
||||||
|
);
|
||||||
|
|
||||||
|
const Test: NextPage = () => {
|
||||||
|
return (
|
||||||
|
<Container>
|
||||||
|
<Col>
|
||||||
|
<h3 className="display-3">Hello</h3>
|
||||||
|
<OverlayTrigger trigger="click" placement="right" overlay={popover}>
|
||||||
|
<Button variant="primary">Click to see.</Button>
|
||||||
|
</OverlayTrigger>
|
||||||
|
</Col>
|
||||||
|
</Container>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Test;
|
Reference in New Issue
Block a user