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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

styled_components__WEBPACK_IMPORTED_MODULE_0__.article is not a function #38

Open
lavaldi opened this issue May 24, 2019 · 0 comments

Comments

@lavaldi
Copy link

commented May 24, 2019

Hi 馃憢 I've installed this package on my project but is throwing an error:

TypeError: styled_components__WEBPACK_IMPORTED_MODULE_0__.article is not a function
    at Module../node_modules/normalized-styled-components/dist/normalized-styled-components.mjs (normalized-styled-components.mjs:1)
    at __webpack_require__ (bootstrap:782)
    at fn (bootstrap:150)
    at Object../src/common/InputText/styled.tsx (styled.tsx:8)
    at __webpack_require__ (bootstrap:782)
    at fn (bootstrap:150)
    at Object../src/common/InputText/index.tsx (index.tsx:25)
    at __webpack_require__ (bootstrap:782)
    at fn (bootstrap:150)
    at Object../stories/common/InputText/InputText.tsx (InputText.tsx:4)

Implementation:

import styled from 'styled-components';
import { Input as InputNormalized } from 'normalized-styled-components';

export const Input = styled(InputNormalized)`
  ...
`;

styled-components version: 4.2.0
node version: 10.15.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can鈥檛 perform that action at this time.