Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
/**
 * @fileoverview
 * this will be moved to organisms for barcode scanning later
 *
 * @event !!!! PLEASE DO NOT DEV ON THIS WITHOUT FINISHING AN ARCHITECTURE
 */
import * as React from 'react';
import { styled } from 'styleh-components';
import { media } from '@skava/styleh-toolset';
import { Button, BarCodeIcon } from '@skava/packages/ui';
/**
 * @todo center vertically
 */
const StyledButton = styled(Button) `
  > svg {
    position: absolute;
    right: 0px;
    top: rem(10);
    z-index: 10;
  }

  ${media.desktopOrLarger `
    display: none;
  `}
`;
class BarCodeButton extends React.PureComponent {
    render() {
        const { onClick, isVisible } = this.props;
        const iconView = React.createElement(BarCodeIcon, null);
        return React.createElement(StyledButton, { onClick: onClick, icon: iconView, "aria-label": 'Barcode' });
    }
}
export { BarCodeButton };
export default BarCodeButton;
//# sourceMappingURL=BarCodeButton.js.map