Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow closeable when a toolbar is specified #94

Open
mandolyte opened this issue Oct 6, 2022 · 0 comments
Open

Allow closeable when a toolbar is specified #94

mandolyte opened this issue Oct 6, 2022 · 0 comments

Comments

@mandolyte
Copy link
Contributor

currently if the property closeable is true, then a tool bar cannot be used. Code in Card.js:

        {closeable ? (
          <CloseIcon
            id='settings_card_close'
            className={classes.pointerIcon}
            onClick={onClose}
          />
        ) : (
          <FlexDiv>
            <Extensible onRenderItems={onRenderToolbar}>
              {alert && (
                <IconButton
                  aria-label='warning'
                  onClick={onAlertClick}
                  className={classes.margin}
                  key='alert-button'
                >
... elided ...
            {!disableSettingsButton && (
              <MoreVertIcon
                id={cardMenuId}
                className={classes.pointerIcon}
                onClick={onMenuClick}
              />
            )}
          </FlexDiv>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant