Merge pull request #30882 from ssjoblad/fix/export-connected-accounts-card

fix: export card components from index
This commit is contained in:
Charles de Dreuille
2025-08-15 09:25:31 +01:00
committed by GitHub
3 changed files with 22 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/ui': patch
---
Export CardHeader, CardBody and CardFooter from Card component index
+15
View File
@@ -207,18 +207,33 @@ export const Card: ForwardRefExoticComponent<
CardProps & RefAttributes<HTMLDivElement>
>;
// @public
export const CardBody: ForwardRefExoticComponent<
CardBodyProps & RefAttributes<HTMLDivElement>
>;
// @public
export interface CardBodyProps extends React.HTMLAttributes<HTMLDivElement> {
// (undocumented)
children?: React.ReactNode;
}
// @public
export const CardFooter: ForwardRefExoticComponent<
CardFooterProps & RefAttributes<HTMLDivElement>
>;
// @public
export interface CardFooterProps extends React.HTMLAttributes<HTMLDivElement> {
// (undocumented)
children?: React.ReactNode;
}
// @public
export const CardHeader: ForwardRefExoticComponent<
CardHeaderProps & RefAttributes<HTMLDivElement>
>;
// @public
export interface CardHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
// (undocumented)
+2 -1
View File
@@ -14,7 +14,8 @@
* limitations under the License.
*/
export { Card } from './Card';
export { Card, CardHeader, CardBody, CardFooter } from './Card';
export type {
CardProps,
CardHeaderProps,