@beydesign/storybook 0.0.56 → 0.0.57
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,14 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The text to display on the card
|
|
5
|
-
*/
|
|
6
|
-
text: string;
|
|
7
|
-
/**
|
|
8
|
-
* Optional click handler
|
|
9
|
-
*/
|
|
10
|
-
onClick?: () => void;
|
|
11
|
-
}
|
|
2
|
+
import { CreateNewCardProps } from './types';
|
|
12
3
|
/**
|
|
13
4
|
* CreateNewCard component that displays a card with a plus icon and text
|
|
14
5
|
* Used for "Create New" actions in a grid of cards
|
|
@@ -80,3 +80,13 @@ export interface AgentCardSkeletonProps {
|
|
|
80
80
|
*/
|
|
81
81
|
style?: React.CSSProperties;
|
|
82
82
|
}
|
|
83
|
+
export interface CreateNewCardProps {
|
|
84
|
+
/**
|
|
85
|
+
* The text to display on the card
|
|
86
|
+
*/
|
|
87
|
+
text: string;
|
|
88
|
+
/**
|
|
89
|
+
* Optional click handler
|
|
90
|
+
*/
|
|
91
|
+
onClick?: () => void;
|
|
92
|
+
}
|