12 lines
192 B
JavaScript
12 lines
192 B
JavaScript
![]() |
import React from 'react';
|
||
|
|
||
|
/*:: type Props = {
|
||
|
foo?: ?string,
|
||
|
bar: number,
|
||
|
}; */
|
||
|
|
||
|
/*:: type State = { baz: number }; */
|
||
|
|
||
|
class Component extends React.Component/*:: <Props, State> */ {
|
||
|
}
|