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

package.src.components.Tabs.TabTitleIcon.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 { css } from '@patternfly/react-styles';
import styles from '@patternfly/react-styles/css/components/Tabs/tabs';

export interface TabTitleIconProps extends React.HTMLProps {
  /** Icon to be rendered inside the tab button title. */
  children: React.ReactNode;
  /** additional classes added to the tab title icon */
  className?: string;
}

export const TabTitleIcon: React.FunctionComponent = ({
  children,
  className = '',
  ...props
}: TabTitleIconProps) => (
  
    {children}
  
);
TabTitleIcon.displayName = 'TabTitleIcon';




© 2015 - 2024 Weber Informatics LLC | Privacy Policy