Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Run `npm install hashmap-prop-type` or `yarn add hashmap-prop-type`
```jsx harmony
import React from 'react';
import PropTypes from 'prop-types';
// import the default function from the package, use require('hashmap-proptype').default for common js
import hashmapPropType from 'hashmap-proptype';
// import the default function from the package, use require('hashmap-prop-type').default for common js
import hashmapPropType from 'hashmap-prop-type';

class MyComponent extends React.Component {
static propTypes = {
Expand Down