CMS-1661 Typescriptify ToggleSlide component