mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
34 lines
593 B
TypeScript
34 lines
593 B
TypeScript
const App = `import {Pagination, Button} from "@nextui-org/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<div className="flex flex-col gap-5">
|
|
<p>1 Boundary (default)</p>
|
|
<Pagination
|
|
total={10}
|
|
color="secondary"
|
|
/>
|
|
<p>2 Boundaries</p>
|
|
<Pagination
|
|
total={10}
|
|
boundaries={2}
|
|
color="secondary"
|
|
/>
|
|
<p>3 Boundaries</p>
|
|
<Pagination
|
|
total={10}
|
|
boundaries={3}
|
|
color="secondary"
|
|
/>
|
|
</div>
|
|
);
|
|
}`;
|
|
|
|
const react = {
|
|
"/App.jsx": App,
|
|
};
|
|
|
|
export default {
|
|
...react,
|
|
};
|