Skip to content
This repository was archived by the owner on May 20, 2019. It is now read-only.
This repository was archived by the owner on May 20, 2019. It is now read-only.

feature request: support component as title value #13

@bdkent

Description

@bdkent

It would be nice if the step title could officially support arbitrary components rather than just strings, for instance to support simple icons (like font awesome) as part of the title.

For example:

title: (
    <span>
        <i class="fa fa-smile-o" />
        Hello
    </span>
)

It technically works now, but I get the warning:
Failed prop type: Invalid prop `title` of type `object` supplied to `Step`, expected `string`.

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