@apolitical/component-library 8.7.1-dh.0 → 8.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1,2 @@
1
1
  export { default as Toggle } from './toggle';
2
+ export type { IToggleProps } from './toggle';
@@ -1,4 +1,4 @@
1
- interface Props {
1
+ export interface IToggleProps {
2
2
  /** The ID of the toggle */
3
3
  id?: string;
4
4
  /** The label to show next to the toggle */
@@ -22,5 +22,5 @@ interface Props {
22
22
  /** Additional class names */
23
23
  className?: string;
24
24
  }
25
- declare const Toggle: ({ id, label, options, initialValue, functions: { onChange }, isDisabled, className, }: Props) => import("react/jsx-runtime").JSX.Element;
25
+ declare const Toggle: ({ id, label, options, initialValue, functions: { onChange }, isDisabled, className, }: IToggleProps) => import("react/jsx-runtime").JSX.Element;
26
26
  export default Toggle;