mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
29 lines
586 B
TypeScript
29 lines
586 B
TypeScript
const App = `import { Progress } from "@nextui-org/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<Progress
|
|
size="sm"
|
|
radius="sm"
|
|
classNames={{
|
|
base: "max-w-md",
|
|
track: "drop-shadow-md border border-default",
|
|
indicator: "bg-gradient-to-r from-pink-500 to-yellow-500",
|
|
label: "tracking-wider font-medium text-default-600",
|
|
value: "text-foreground/60",
|
|
}}
|
|
label="Lose weight"
|
|
value={65}
|
|
showValueLabel={true}
|
|
/>
|
|
);
|
|
}`;
|
|
|
|
const react = {
|
|
"/App.jsx": App,
|
|
};
|
|
|
|
export default {
|
|
...react,
|
|
};
|