13 lines
227 B
JavaScript
13 lines
227 B
JavaScript
|
/**
|
||
|
* @flow
|
||
|
*/
|
||
|
|
||
|
import IdentifierMock from './IdentifierMock';
|
||
|
|
||
|
export default function JSXSpreadAttributeMock(identifier: string) {
|
||
|
return {
|
||
|
type: 'JSXSpreadAttribute',
|
||
|
argument: IdentifierMock(identifier),
|
||
|
};
|
||
|
}
|