Card Tab docs update

Signed-off-by: lukzerom <lukzerom@gmail.com>
This commit is contained in:
lukzerom
2021-12-17 09:06:58 +01:00
parent b594bab67d
commit c9f7126709
2 changed files with 16 additions and 10 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ export type BottomLinkProps = {
// Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
// @public
export function Breadcrumbs(props: Props_20): JSX.Element;
// @public (undocumented)
@@ -14,19 +14,19 @@
* limitations under the License.
*/
import React, {
useState,
ReactElement,
ReactNode,
PropsWithChildren,
} from 'react';
import { withStyles, makeStyles } from '@material-ui/core/styles';
import Card from '@material-ui/core/Card';
import CardContent from '@material-ui/core/CardContent';
import CardHeader from '@material-ui/core/CardHeader';
import Divider from '@material-ui/core/Divider';
import Tabs from '@material-ui/core/Tabs';
import { makeStyles, withStyles } from '@material-ui/core/styles';
import Tab, { TabProps } from '@material-ui/core/Tab';
import Tabs from '@material-ui/core/Tabs';
import React, {
PropsWithChildren,
ReactElement,
ReactNode,
useState,
} from 'react';
import { BottomLink, BottomLinkProps } from '../BottomLink';
import { ErrorBoundary, ErrorBoundaryProps } from '../ErrorBoundary';
@@ -149,7 +149,13 @@ type CardTabProps = TabProps & {
children: ReactNode;
};
/** @public */
/**
* Card tab component used in {@link TabbedCard | TabbedCard}
*
* @public
* @remarks
*
*/
export function CardTab(props: PropsWithChildren<CardTabProps>) {
const { children, ...restProps } = props;
const classes = useCardTabStyles();