function NavbarToggler(props) {
  const {
    className,
    cssModule,
    children,
    tag: Tag = 'button',
    ...attributes
  } = props;

  const classes = mapToCssModules(
    classNames(className, 'navbar-toggler'),
    cssModule,
  );

  return (
    <Tag
      aria-label="Toggle navigation"
      {...{ type: 'button', ...attributes }}
      className={classes}
    >
      {children || (
        <span className={mapToCssModules('navbar-toggler-icon', cssModule)} />
      )}
    </Tag>
  );
}
Pass children so this component can wrap the child elements