Canon - Export Card component as well
Signed-off-by: James Brooks <jamesbrooks@spotify.com>
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
'@backstage/canon': patch
|
||||
---
|
||||
|
||||
Export Skeleton component from Canon.
|
||||
Export Card and Skeleton components.
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user