Revert "Updating API docs"
This reverts commit da10bec266.
Signed-off-by: Kalle Ericson <7943407+kalleericson@users.noreply.github.com>
This commit is contained in:
@@ -39,7 +39,6 @@ const useStyles = makeStyles<
|
||||
|
||||
/**
|
||||
* Props for the CardHeader component
|
||||
* @alpha
|
||||
*/
|
||||
export interface CardHeaderProps {
|
||||
template: TemplateEntityV1beta3;
|
||||
@@ -47,7 +46,6 @@ export interface CardHeaderProps {
|
||||
|
||||
/**
|
||||
* The Card Header with the background for the TemplateCard.
|
||||
* @alpha
|
||||
*/
|
||||
export const CardHeader = (props: CardHeaderProps) => {
|
||||
const {
|
||||
|
||||
@@ -19,10 +19,6 @@ import { Link } from '@backstage/core-components';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import React from 'react';
|
||||
|
||||
/**
|
||||
* Props for the Card Links component
|
||||
* @alpha
|
||||
*/
|
||||
export interface CardLinkProps {
|
||||
icon: IconComponent;
|
||||
text: string;
|
||||
@@ -36,10 +32,6 @@ const useStyles = makeStyles(() => ({
|
||||
},
|
||||
}));
|
||||
|
||||
/**
|
||||
* The Card Links used for the TemplateCard.
|
||||
* @alpha
|
||||
*/
|
||||
export const CardLink = ({ icon: Icon, text, url }: CardLinkProps) => {
|
||||
const styles = useStyles();
|
||||
|
||||
|
||||
@@ -37,7 +37,6 @@ const useStyles = makeStyles<Theme>(() => ({
|
||||
actionContainer: { padding: '16px', flex: 1, alignItems: 'flex-end' },
|
||||
}));
|
||||
|
||||
/** @alpha */
|
||||
export interface TemplateCardAdditionalLink {
|
||||
icon: IconComponent;
|
||||
text: string;
|
||||
|
||||
@@ -45,10 +45,6 @@ export interface TemplateCardActionsProps {
|
||||
canCreateTask: boolean;
|
||||
handleChoose: () => void;
|
||||
}
|
||||
/**
|
||||
* The `TemplateCardActions` component that is rendered at the Actions-section of the TemplateCard
|
||||
* @alpha
|
||||
*/
|
||||
export const TemplateCardActions = ({
|
||||
canCreateTask,
|
||||
handleChoose,
|
||||
|
||||
@@ -44,10 +44,6 @@ const useStyles = makeStyles(() => ({
|
||||
export interface TemplateCardContentProps {
|
||||
template: TemplateEntityV1beta3;
|
||||
}
|
||||
/**
|
||||
* The `TemplateCardContent` component that is rendered at the Content-section of the TemplateCard
|
||||
* @alpha
|
||||
*/
|
||||
export const TemplateCardContent = ({ template }: TemplateCardContentProps) => {
|
||||
const styles = useStyles();
|
||||
return (
|
||||
|
||||
@@ -34,10 +34,6 @@ export interface TemplateCardLinksProps {
|
||||
template: TemplateEntityV1beta3;
|
||||
additionalLinks?: TemplateCardAdditionalLink[];
|
||||
}
|
||||
/**
|
||||
* The `TemplateCardLinks` component that is rendered at the Links-section of the TemplateCard
|
||||
* @alpha
|
||||
*/
|
||||
export const TemplateCardLinks = ({
|
||||
template,
|
||||
additionalLinks,
|
||||
|
||||
@@ -27,10 +27,6 @@ import React from 'react';
|
||||
export interface TemplateCardTagsProps {
|
||||
template: TemplateEntityV1beta3;
|
||||
}
|
||||
/**
|
||||
* The `TemplateCardTags` component that is rendered at the Tags-section of the TemplateCard
|
||||
* @alpha
|
||||
*/
|
||||
export const TemplateCardTags = ({ template }: TemplateCardTagsProps) => (
|
||||
<>
|
||||
<Grid item xs={12}>
|
||||
|
||||
Reference in New Issue
Block a user