16 lines
295 B
JavaScript
16 lines
295 B
JavaScript
|
/**
|
||
|
* @flow
|
||
|
*/
|
||
|
|
||
|
export type JSXExpressionContainerMockType = {
|
||
|
type: 'JSXExpressionContainer',
|
||
|
expression: mixed,
|
||
|
}
|
||
|
|
||
|
export default function JSXExpressionContainerMock(exp: mixed): JSXExpressionContainerMockType {
|
||
|
return {
|
||
|
type: 'JSXExpressionContainer',
|
||
|
expression: exp,
|
||
|
};
|
||
|
}
|