Change autoHeightMin and autoHeightMax to allow both number and string

This commit is contained in:
teevik
2018-06-28 12:34:26 +02:00
parent 80d50f06cf
commit 17a57444f3

View File

@@ -44,8 +44,8 @@ declare module "react-custom-scrollbars" {
universal?: boolean;
autoHeight?: boolean;
autoHeightMin?: number;
autoHeightMax?: number;
autoHeightMin?: number | string;
autoHeightMax?: number | string;
}
export default class Scrollbars extends React.Component<ScrollbarProps> {