Skip to content

Commit

Permalink
Add as named export
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Kirmas committed Feb 6, 2021
1 parent 4cf12b3 commit 43428ce
Show file tree
Hide file tree
Showing 3 changed files with 118 additions and 30 deletions.
115 changes: 115 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 0 additions & 30 deletions src/index.js

This file was deleted.

3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ type ClassName = {
}

export default classNaming
export {
classNaming
}

function classNaming<C extends string>(
classNames: ClassNamesMap<C>
Expand Down

0 comments on commit 43428ce

Please sign in to comment.