Skip to content

Suggestion: Change PropType of steps.name from string to object #113

@ghost

Description

Hi there,
I want to suggest changing the PropType from String to Object type.
My change request arises because I would like to use FontAwesome components for the navigation steps.
And I think more flexibility is a good think.

const steps =
            [
                {name: <FontAwesomeIcon icon="book-open"/>, component: <Step1/>},
                {name: <FontAwesomeIcon icon="ruler-combined"/>, component: <Step2/>},
                {name: <FontAwesomeIcon icon="tint"/>, component: <Step3/>},
                {name: <FontAwesomeIcon icon="user"/>, component: <Step4/>},
                {name: <FontAwesomeIcon icon="check"/>, component: <Step5/>}
            ];

grafik

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions