Skip to content

[feat]: Exporting types to have more modularity in our implementation #38

Open
@oktapodia

Description

@oktapodia

A clear and concise description of what the feature is

the package got a lot of interfaces not exported which is making the usage harder for an example, BlocksRendererProps if we want to auto-generate the blocks

Why should this feature be included?

That's quite common to export the type for reusability

Please provide an example for how this would work

interface BlocksRendererProps {
    content: RootNode[];
    blocks?: Partial<BlocksComponents>;
    modifiers?: Partial<ModifiersComponents>;
}

to

export interface BlocksRendererProps {
    content: RootNode[];
    blocks?: Partial<BlocksComponents>;
    modifiers?: Partial<ModifiersComponents>;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: enhancementIssue suggesting an enhancement to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions