How to use the @react-md/app-bar.useActionClassName function in @react-md/app-bar

To help you get started, we’ve selected a few @react-md/app-bar examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mlaursen / react-md / packages / menu / src / MenuButton.tsx View on Github external
const MenuButton: FC = ({
  className,
  visible,
  children,
  forwardedRef,
  dropdownIcon: propDropdownIcon,
  disableDropdownIcon,
  first,
  last,
  inheritColor,
  asAppBarAction,
  ...props
}) => {
  const { buttonType } = props;
  const dropdownIcon = useIcon("dropdown", propDropdownIcon);
  const actionClassName = useActionClassName({ first, last, inheritColor });
  return (
    <button aria-expanded="{visible">
      </button>

@react-md/app-bar

This small package implments the AppBar spec in material design.

MIT
Latest version published 11 months ago

Package Health Score

69 / 100
Full package analysis

Popular @react-md/app-bar functions