Canon - Export Card component as well

Signed-off-by: James Brooks <jamesbrooks@spotify.com>
This commit is contained in:
James Brooks
2025-07-09 23:12:16 +01:00
parent 390ea2024e
commit 33a8591c93
3 changed files with 31 additions and 1 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
'@backstage/canon': patch
---
Export Skeleton component from Canon.
Export Card and Skeleton components.
+29
View File
@@ -219,6 +219,35 @@ export interface ButtonProps extends ButtonProps_2 {
| Partial<Record<Breakpoint, 'primary' | 'secondary' | 'tertiary'>>;
}
// @public
export const Card: ForwardRefExoticComponent<
CardProps & RefAttributes<HTMLDivElement>
>;
// @public
export interface CardBodyProps extends React.HTMLAttributes<HTMLDivElement> {
// (undocumented)
children?: React.ReactNode;
}
// @public
export interface CardFooterProps extends React.HTMLAttributes<HTMLDivElement> {
// (undocumented)
children?: React.ReactNode;
}
// @public
export interface CardHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
// (undocumented)
children?: React.ReactNode;
}
// @public
export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
// (undocumented)
children?: React.ReactNode;
}
// @public (undocumented)
export const Checkbox: ForwardRefExoticComponent<
CheckboxProps & RefAttributes<HTMLButtonElement>
+1
View File
@@ -34,6 +34,7 @@ export * from './components/Heading';
// UI components
export * from './components/Avatar';
export * from './components/Button';
export * from './components/Card';
export * from './components/Collapsible';
export * from './components/DataTable';
export * from './components/FieldLabel';