Skip to content

Commit

Permalink
Merge pull request #12 from TedDriggs/ts-update
Browse files Browse the repository at this point in the history
Update type declarations to disallow arrays
  • Loading branch information
xobotyi authored Oct 18, 2018
2 parents 97168cb + 3a41369 commit 72c506e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ export interface ScrollbarProps {

tagName?: string;

className?: string | string[];
wrapperClassName?: string | string[];
contentClassName?: string | string[];
trackVerticalClassName?: string | string[];
trackHorizontalClassName?: string | string[];
thumbVerticalClassName?: string | string[];
thumbHorizontalClassName?: string | string[];
className?: string;
wrapperClassName?: string;
contentClassName?: string;
trackVerticalClassName?: string;
trackHorizontalClassName?: string;
thumbVerticalClassName?: string;
thumbHorizontalClassName?: string;

style?: CSSProperties;
wrapperStyle?: CSSProperties;
Expand Down

0 comments on commit 72c506e

Please sign in to comment.