-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
examples/stackflow-spa/src/design-system/ui/progress-circle.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
"use client"; | ||
|
||
import "@seed-design/stylesheet/progressCircle.css"; | ||
|
||
import { ProgressCircle as SeedProgressCircle } from "@seed-design/react"; | ||
import * as React from "react"; | ||
|
||
export interface ProgressCircleProps extends SeedProgressCircle.RootProps {} | ||
|
||
/** | ||
* @see https://v3.seed-design.io/docs/react/components/progress-circle | ||
*/ | ||
export const ProgressCircle = React.forwardRef< | ||
SVGSVGElement, | ||
ProgressCircleProps | ||
>((props, ref) => { | ||
return ( | ||
<SeedProgressCircle.Root ref={ref} {...props}> | ||
<SeedProgressCircle.Track /> | ||
<SeedProgressCircle.Range /> | ||
</SeedProgressCircle.Root> | ||
); | ||
}); | ||
|
||
ProgressCircle.displayName = "ProgressCircle"; | ||
|
||
/** | ||
* This file is generated snippet from the Seed Design. | ||
* You can extend the functionality from this snippet if needed. | ||
*/ |