generated from erangel1/generic-template
initial commit. phase 1 complete
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @flow
|
||||
*/
|
||||
|
||||
export type JSXTextMockType = {|
|
||||
type: 'JSXText',
|
||||
value: string,
|
||||
raw: string,
|
||||
|};
|
||||
|
||||
export default function JSXTextMock(value: string): JSXTextMockType {
|
||||
return {
|
||||
type: 'JSXText',
|
||||
value,
|
||||
raw: value,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user