mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-14 12:09:04 +08:00
react-widgets: add tslint.json
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import * as React from "react"
|
||||
import * as ReactDOM from "react-dom"
|
||||
import * as React from "react";
|
||||
import * as ReactDOM from "react-dom";
|
||||
|
||||
import { Calendar, Combobox, DateTimePicker, DropdownList, Multiselect, NumberPicker, SelectList } from "react-widgets"
|
||||
import { Calendar, Combobox, DateTimePicker, DropdownList, Multiselect, NumberPicker, SelectList } from "react-widgets";
|
||||
|
||||
function tagComponent(props: { value: string }) {
|
||||
return <span>{props.value}</span>;
|
||||
@@ -12,7 +12,6 @@ function itemComponent(props: { value: string }) {
|
||||
}
|
||||
|
||||
class Test extends React.Component<React.Props<{}>, {}> {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
@@ -56,7 +55,6 @@ class Test extends React.Component<React.Props<{}>, {}> {
|
||||
<SelectList disabled readOnly/>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
1
types/react-widgets/tslint.json
Normal file
1
types/react-widgets/tslint.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
Reference in New Issue
Block a user