ModalLegacyProps type is not exported
tmartensen-hobsons opened this issue · 3 comments
tmartensen-hobsons commented
I've noticed in src/index.ts
that ModalProps
are exported:
export type ModalProps = TModalProps
but LegacyModalProps
are not. IDE tries to infer them from 'react-daisyui/dist/Modal
, but it throws an eslint import/no-unresolved
error. Should ModalLegacyProps
be exported like the new ModalProps
?
tmartensen-hobsons commented
I've opened a PR (#405) to account for this, if that's OK.
benjitrosch commented
@tmartensen-hobsons thanks for finding this and for opening the PR! I left a comment, please take a look whenever you can and then I'm happy to merge it.
benjitrosch commented
Fixed by #405