mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 02:30:13 +00:00
Templates: update React's component's State and Property type
This commit is contained in:
@@ -5,7 +5,7 @@ export interface LayoutProps {
|
||||
body: React.ReactElement<any>;
|
||||
}
|
||||
|
||||
export class Layout extends React.Component<LayoutProps, void> {
|
||||
export class Layout extends React.Component<LayoutProps, {}> {
|
||||
public render() {
|
||||
return <div className='container-fluid'>
|
||||
<div className='row'>
|
||||
|
||||
Reference in New Issue
Block a user