Skip to content

allow to pass value as props #34

@fdecampredon

Description

@fdecampredon
<FormatDate options={{date: 'short'}} >{date}</FormatDate>

can feel a bit awkward could this module also support this api ?

<FormatDate value={date} options={{date: 'short'}} />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions