File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ 1.2.0] - 2019-10-22
8+ ### Added
9+ - Added missing methods to typescript defs [ \# 11] ( https://github.com/gitbrent/bootstrap-switch-button-react/issue/11 ) ([ evark] ( https://github.com/evark ) )
10+
711## [ 1.1.0] - 2019-07-29
812### Added
913- Added new typescript defs (` bootstrap-switch-button-react.d.ts ` )
Original file line number Diff line number Diff line change @@ -26,11 +26,15 @@ interface BootstrapSwitchButtonProps {
2626 */
2727 onChange ?: ( checked : boolean ) => void ;
2828 checked ?: boolean ;
29+ disabled ?: boolean ;
2930 onlabel ?: string ;
3031 offlabel ?: string ;
31- offstyle ?: Colors | ColorsOutline ;
3232 onstyle ?: Colors | ColorsOutline ;
33+ offstyle ?: Colors | ColorsOutline ;
34+ size ?: "xs" | "sm" | "lg" ;
3335 style ?: string ;
36+ width : number ;
37+ height : number ;
3438}
3539
3640declare class BootstrapSwitchButton extends React . Component <
You can’t perform that action at this time.
0 commit comments