Skip to content

Support block variations as well as styles #12

Description

@goldenapples

The registerBlock utility allows for exporting an array of styles, which are each registered as block styles and unregistered on hot module updates (code here).

It would be good to expose a similar interface for block variations, which calls registerBlockVariation in the registerBlock function and unregisterBlockVariation in the unregisterBlock method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions