mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
* feat(halogen): definitions * chore(halogen): some correction + remove identical component tests * chore(halogen): replace module by namespace
19 lines
502 B
TypeScript
19 lines
502 B
TypeScript
import * as React from "react";
|
|
import * as Halogen from "halogen";
|
|
|
|
class HalogenTests_RotateLoader_withNoProps extends React.Component<React.Props<{}>, {}>{
|
|
render() {
|
|
return (
|
|
<Halogen.RotateLoader />
|
|
)
|
|
}
|
|
}
|
|
|
|
class HalogenTests_RotateLoader_withAllProps extends React.Component<React.Props<{}>, {}>{
|
|
render() {
|
|
return (
|
|
<Halogen.RotateLoader loading={false} color="black" id="MyLoader" className="loader" verticalAlign="middle" margin="10px" size="100px" />
|
|
)
|
|
}
|
|
}
|