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

PF4: Missing Modal Typing #581

Closed
dlabrecq opened this issue Aug 30, 2018 · 0 comments
Closed

PF4: Missing Modal Typing #581

dlabrecq opened this issue Aug 30, 2018 · 0 comments

Comments

@dlabrecq
Copy link
Member

Encountered another type errors with the Modal from @patternfly/react-core v1.8.1.

TS2305: Module '"/Users/dlabrecq/Work/hccm/repos/koku-ui/node_modules/@patternfly/react-core/dist/js/index"' has no exported member 'Modal'

My workaround is to import like so:

import {
  Alert,
  AlertVariant,
  Button,
  ButtonVariant,
// Modal,
} from '@patternfly/react-core';

import { Modal } from '@patternfly/react-core/dist/js/components/Modal';
dlabrecq added a commit to dlabrecq/patternfly-react that referenced this issue Aug 31, 2018
dlabrecq added a commit to dlabrecq/patternfly-react that referenced this issue Aug 31, 2018
dgutride pushed a commit that referenced this issue Aug 31, 2018
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