@sjsf/shadcn4-theme
Version:
The shadcn-svelte based theme for svelte-jsonschema-form
18 lines (17 loc) • 823 B
TypeScript
import type { VariantProps } from "tailwind-variants";
import { toggleVariants } from "../toggle/index.js";
type ToggleVariants = VariantProps<typeof toggleVariants>;
interface ToggleGroupContext extends ToggleVariants {
spacing?: number;
orientation?: "horizontal" | "vertical";
}
export declare function setToggleGroupCtx(props: ToggleGroupContext): void;
export declare function getToggleGroupCtx(): Required<ToggleGroupContext>;
import { ToggleGroup as ToggleGroupPrimitive } from "bits-ui";
type $$ComponentProps = ToggleGroupPrimitive.RootProps & ToggleVariants & {
spacing?: number;
orientation?: "horizontal" | "vertical";
};
declare const ToggleGroup: import("svelte").Component<$$ComponentProps, {}, "ref" | "value">;
type ToggleGroup = ReturnType<typeof ToggleGroup>;
export default ToggleGroup;