create project
This commit is contained in:
18
kitabcitab/node_modules/eslint-plugin-jsx-a11y/__mocks__/JSXSpreadAttributeMock.js
generated
vendored
Normal file
18
kitabcitab/node_modules/eslint-plugin-jsx-a11y/__mocks__/JSXSpreadAttributeMock.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @flow
|
||||
*/
|
||||
|
||||
import IdentifierMock from './IdentifierMock';
|
||||
import type { IdentifierMockType } from './IdentifierMock';
|
||||
|
||||
export type JSXSpreadAttributeMockType = {
|
||||
type: 'JSXSpreadAttribute',
|
||||
argument: IdentifierMockType,
|
||||
};
|
||||
|
||||
export default function JSXSpreadAttributeMock(identifier: string): JSXSpreadAttributeMockType {
|
||||
return {
|
||||
type: 'JSXSpreadAttribute',
|
||||
argument: IdentifierMock(identifier),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user