hernansartorio / hernansartorio/react-nice-dates

Why not make `DatePicker` a `span` instead of a `div`?

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.1k
Forks
77
PR merge metrics
No merged PRs in 30d

Description

Currently I have to hack around with flexbox to get a `span` layout. Why not make it a `span` by default so if someone wants a `block` layout they can wrap it with a `div`.

While to do a `inline` layout, it requires a flexbox hack which IMO is worse as a library shouldn't make design decisions :)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.