propro-common-components 0.1.59 → 0.1.60

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.
@@ -0,0 +1,7 @@
1
+ import type { SwitchProps as NativeSwitchProps } from '@radix-ui/react-switch';
2
+ export type ViewStyle = 'grid' | 'list';
3
+ interface SwitchProps extends NativeSwitchProps {
4
+ color?: 'blue' | 'green';
5
+ }
6
+ declare function ListGridSwitch(props: SwitchProps): import("react/jsx-runtime").JSX.Element;
7
+ export { ListGridSwitch };
@@ -0,0 +1,7 @@
1
+ type IconName = 'list' | 'grid';
2
+ type IconProps = {
3
+ name: IconName;
4
+ className?: string;
5
+ };
6
+ declare function Icon({ name, className }: IconProps): import("react/jsx-runtime").JSX.Element;
7
+ export { Icon };