package.src.components.SkipToContent.SkipToContent.tsx Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react-core Show documentation
Show all versions of react-core Show documentation
This library provides a set of common React components for use with the PatternFly reference implementation.
The newest version!
import * as React from 'react';
import styles from '@patternfly/react-styles/css/components/SkipToContent/skip-to-content';
import { css } from '@patternfly/react-styles';
import { Button, ButtonVariant } from '../Button';
export interface SkipToContentProps extends React.HTMLProps {
/** The skip to content link. */
href: string;
/** Content to display within the skip to content component, typically a string. */
children?: React.ReactNode;
/** Additional styles to apply to the skip to content component. */
className?: string;
}
export const SkipToContent: React.FunctionComponent = ({
children = null,
className = '',
href,
...props
}: SkipToContentProps) => (
);
SkipToContent.displayName = 'SkipToContent';