stp-ui-kit 0.0.80 → 0.0.82
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,37 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface IllustrationProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IllustrationTextProps {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const IllustrationTitle: ({ children, className, }: IllustrationTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const IllustrationContext: ({ children, className, }: IllustrationTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const IllustrationContent: ({ children, className, }: IllustrationTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const IllustrationButtonContent: ({ children, className, }: IllustrationTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export interface IllustrationButtonProps {
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
onClick?: () => void;
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const IllustrationPrimaryButton: ({ children, onClick, className, }: IllustrationButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare const IllustrationSecondaryButton: ({ children, onClick, className, }: IllustrationButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
interface IllustrationImageProps {
|
|
22
|
+
src: string;
|
|
23
|
+
className?: string;
|
|
24
|
+
alt?: string;
|
|
25
|
+
}
|
|
26
|
+
declare const IllustrationImage: ({ src, className, alt, }: IllustrationImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
interface IllustrationType extends React.FC<IllustrationProps> {
|
|
28
|
+
Title: typeof IllustrationTitle;
|
|
29
|
+
Context: typeof IllustrationContext;
|
|
30
|
+
Content: typeof IllustrationContent;
|
|
31
|
+
ButtonContent: typeof IllustrationButtonContent;
|
|
32
|
+
PrimaryButton: typeof IllustrationPrimaryButton;
|
|
33
|
+
SecondaryButton: typeof IllustrationSecondaryButton;
|
|
34
|
+
Image: typeof IllustrationImage;
|
|
35
|
+
}
|
|
36
|
+
declare const Illustration: IllustrationType;
|
|
37
|
+
export { Illustration };
|