import type { Component, JSX, ValidComponent } from "solid-js" import { splitProps } from "solid-js" import type { PolymorphicProps } from "@kobalte/core/polymorphic" import * as ProgressPrimitive from "@kobalte/core/progress" import { Label } from "~/components/ui/label" type ProgressRootProps = ProgressPrimitive.ProgressRootProps & { children?: JSX.Element } const Progress = ( props: PolymorphicProps> ) => { const [local, others] = splitProps(props as ProgressRootProps, ["children"]) return ( {local.children} ) } const ProgressLabel: Component = (props) => { return } const ProgressValueLabel: Component = (props) => { return } export { Progress, ProgressLabel, ProgressValueLabel }