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
498 B
TypeScript
19 lines
498 B
TypeScript
import * as React from "react";
|
|
import * as Halogen from "halogen";
|
|
|
|
class HalogenTests_PacmanLoader_withNoProps extends React.Component<React.Props<{}>, {}>{
|
|
render() {
|
|
return (
|
|
<Halogen.PacmanLoader />
|
|
)
|
|
}
|
|
}
|
|
|
|
class HalogenTests_PacmanLoader_withAllProps extends React.Component<React.Props<{}>, {}>{
|
|
render() {
|
|
return (
|
|
<Halogen.PacmanLoader loading={false} color="black" id="MyLoader" className="loader" verticalAlign="middle" margin={10} size={200} />
|
|
)
|
|
}
|
|
}
|