@web-fuse/wf-components 1.0.2 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Display/Card/DarkCard.Title.d.ts +2 -3
- package/dist/Display/Card/DarkCard.d.ts +3 -1
- package/dist/Display/Card/LightCard.Title.d.ts +4 -5
- package/dist/Display/Card/LightCard.d.ts +3 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
@@ -1,8 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
type CssColor = React.CSSProperties["color"];
|
3
|
-
export
|
4
|
-
title?: React.ReactNode;
|
3
|
+
export type DarkCardTitleProps = React.PropsWithChildren<{
|
5
4
|
titleColor?: CssColor;
|
6
|
-
}
|
5
|
+
}>;
|
7
6
|
declare const DarkCardTitle: React.FC<DarkCardTitleProps>;
|
8
7
|
export default DarkCardTitle;
|
@@ -1,6 +1,8 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import Title, { type DarkCardTitleProps } from "./DarkCard.Title";
|
3
|
-
export type DarkCardProps = React.PropsWithChildren<DarkCardTitleProps
|
3
|
+
export type DarkCardProps = React.PropsWithChildren<DarkCardTitleProps & {
|
4
|
+
title?: React.ReactNode;
|
5
|
+
}>;
|
4
6
|
type DarkCardComponent = React.FC<DarkCardProps> & {
|
5
7
|
Title: typeof Title;
|
6
8
|
};
|
@@ -1,11 +1,10 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
type CssColor = React.CSSProperties["color"];
|
3
|
-
export
|
4
|
-
title?: React.ReactNode;
|
3
|
+
export type LightCardTitleProps = React.PropsWithChildren<{
|
5
4
|
titleColor?: CssColor;
|
6
|
-
}
|
7
|
-
declare const LightCardTitle: ({
|
8
|
-
|
5
|
+
}>;
|
6
|
+
declare const LightCardTitle: ({ children, titleColor }: {
|
7
|
+
children: any;
|
9
8
|
titleColor?: string;
|
10
9
|
}) => import("react/jsx-runtime").JSX.Element;
|
11
10
|
export default LightCardTitle;
|
@@ -1,6 +1,8 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import Title, { LightCardTitleProps } from "./LightCard.Title";
|
3
|
-
export type LightCardProps = React.PropsWithChildren<LightCardTitleProps
|
3
|
+
export type LightCardProps = React.PropsWithChildren<LightCardTitleProps & {
|
4
|
+
title?: React.ReactNode;
|
5
|
+
}>;
|
4
6
|
type LightCardComponent = React.FC<LightCardProps> & {
|
5
7
|
Title: typeof Title;
|
6
8
|
};
|