All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.components.SkipToContent.SkipToContent.tsx Maven / Gradle / Ivy

Go to download

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';




© 2015 - 2024 Weber Informatics LLC | Privacy Policy