Skip to content

Commit

Permalink
moved imports to their corresponding section
Browse files Browse the repository at this point in the history
  • Loading branch information
mzorz committed Aug 24, 2018
1 parent 6d5b37d commit ed725d6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
5 changes: 4 additions & 1 deletion packages/block-library/src/code/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
*/
import { __ } from '@wordpress/i18n';
import { createBlock } from '@wordpress/blocks';
import {
Path,
SVG
} from '@wordpress/components';

/**
* Internal dependencies
*/
import edit from './edit';
import { Path, SVG } from '@wordpress/components';

export const name = 'core/code';

Expand Down
5 changes: 4 additions & 1 deletion packages/block-library/src/heading/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ import {
children,
} from '@wordpress/blocks';
import { RichText } from '@wordpress/editor';
import {
Path,
SVG
} from '@wordpress/components';

/**
* Internal dependencies
*/
import edit from './edit';
import { Path, SVG } from '@wordpress/components';

/**
* Given a node name string for a heading node, returns its numeric level.
Expand Down
6 changes: 5 additions & 1 deletion packages/block-library/src/more/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ import { compact } from 'lodash';
import { __, _x } from '@wordpress/i18n';
import { RawHTML } from '@wordpress/element';
import { createBlock } from '@wordpress/blocks';
import {
Path,
G,
SVG
} from '@wordpress/components';

/**
* Internal dependencies
*/
import edit from './edit';
import { Path, G, SVG } from '@wordpress/components';

export const name = 'core/more';

Expand Down
5 changes: 4 additions & 1 deletion packages/block-library/src/paragraph/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ import {
getPhrasingContentSchema,
children,
} from '@wordpress/blocks';
import {
Path,
SVG
} from '@wordpress/components';

/**
* Internal dependencies
*/
import edit from './edit';
import { Path, SVG } from '@wordpress/components';

const supports = {
className: false,
Expand Down

0 comments on commit ed725d6

Please sign in to comment.