BottomLink description

Signed-off-by: lukzerom <lukzerom@gmail.com>
This commit is contained in:
lukzerom
2021-12-16 22:04:02 +01:00
parent 351fc58fe2
commit d26904b836
2 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ export type BackstageOverrides = Overrides & {
// @public (undocumented)
export type BoldHeaderClassKey = 'root' | 'title' | 'subheader';
// @public (undocumented)
// @public
export function BottomLink(props: BottomLinkProps): JSX.Element;
// @public (undocumented)
@@ -14,13 +14,13 @@
* limitations under the License.
*/
import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Divider from '@material-ui/core/Divider';
import Typography from '@material-ui/core/Typography';
import ArrowIcon from '@material-ui/icons/ArrowForward';
import { BackstageTheme } from '@backstage/theme';
import Box from '@material-ui/core/Box';
import Divider from '@material-ui/core/Divider';
import { makeStyles } from '@material-ui/core/styles';
import Typography from '@material-ui/core/Typography';
import ArrowIcon from '@material-ui/icons/ArrowForward';
import React from 'react';
import { Link } from '../../components/Link';
/** @public */
@@ -50,7 +50,13 @@ export type BottomLinkProps = {
onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
};
/** @public */
/**
* Footer with link used in {@link InfoCard | InfoCard } and {@link TabbedCard | TabbedCard}
*
* @public
* @remarks
*
*/
export function BottomLink(props: BottomLinkProps) {
const { link, title, onClick } = props;
const classes = useStyles();