Skip to content

Commit 511b2ea

Browse files
authored
feat: added ConstructorBlocks to module for external using (#464)
* feat: added ConstructorBlocks to module for external using
1 parent 07bb8be commit 511b2ea

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {ConstructorBlock} from '../ConstructorBlock/ConstructorBlock';
1010
import {ConstructorItem} from '../ConstructorItem';
1111
import {ConstructorLoadable} from '../ConstructorLoadable';
1212

13-
interface ConstructorBlocksProps {
13+
export interface ConstructorBlocksProps {
1414
items: ConstructorItemType[];
1515
}
1616

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export type {ConstructorBlocksProps} from './ConstructorBlocks';
2+
export {ConstructorBlocks} from './ConstructorBlocks';

src/containers/PageConstructor/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ export type {PageConstructorProps} from './PageConstructor';
22
export {PageConstructor} from './PageConstructor';
33
export type {PageConstructorProviderProps} from './Provider';
44
export {PageConstructorProvider} from './Provider';
5+
export * from './components';

0 commit comments

Comments
 (0)