Skip to content

Commit

Permalink
Merge pull request #44 from marsinearth/bugfix/add-export-type-of-Cir…
Browse files Browse the repository at this point in the history
…cleFlagLanguageProps

Bugfix/add-export-type-of-CircleFlagLanguageProps
  • Loading branch information
tnovau committed Nov 23, 2023
2 parents a16d064 + c6b112b commit 6e71160
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can pass all the react's `React.DetailedHTMLProps<React.ImgHTMLAttributes<HT
import React from 'react'
import { CircleFlagLanguage } from 'react-circle-flags'

export const EnglishFlag = () => <CircleFlagLanguage countryCode="en-us" height="35" />
export const EnglishFlag = () => <CircleFlagLanguage languageCode="en-us" height="35" />
```

## Docs && Gallery
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ declare function CircleFlagLanguage(props: CircleFlagLanguageProps): JSX.Element
declare var countries: Record<string, boolean>
declare var languages: Record<string, boolean>

export { CircleFlag, CircleFlagProps, countries, languages }
export { CircleFlag, CircleFlagLanguage, CircleFlagProps, countries, languages }

0 comments on commit 6e71160

Please sign in to comment.