import * as React from 'react'; import JqxDropDownList, { IDropDownListProps, jqx } from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxdropdownlist'; import JqxRadioButton, { IRadioButtonProps } from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxradiobutton'; export interface IState extends IDropDownListProps { fadeChecked: IRadioButtonProps['checked']; noneChecked: IRadioButtonProps['checked']; slideChecked: IRadioButtonProps['checked']; } class App extends React.PureComponent<{}, IState> { constructor(props: {}) { super(props); this.noneAnimationBtnOnChecked = this.noneAnimationBtnOnChecked.bind(this); this.slideAnimationBtnOnChecked = this.slideAnimationBtnOnChecked.bind(this); this.fadeAnimationBtnOnChecked = this.fadeAnimationBtnOnChecked.bind(this); const source: any = { async: false, datafields: [ { name: 'CompanyName' }, { name: 'ContactName' } ], datatype: 'json', id: 'id', url: 'customers.txt' }; this.state = { animationType: 'fade', fadeChecked: true, noneChecked: false, slideChecked: false, source: new jqx.dataAdapter(source) } } public render() { return (