This kit is a simple option for displaying dates in a month, day and the year format.
Use this kits on table displays or column headers to display a single date format.
import React from 'react' import { DateYearStacked } from 'playbook-ui' const DateYearStackedDefault = (props) => { return ( <div> <DateYearStacked date={new Date()} /> <DateYearStacked align="center" date={new Date()} /> <DateYearStacked align="right" date={new Date()} /> </div> ) } export default DateYearStackedDefault
• Avoid using this to display dashboard data which can get lost when used in large format.
• Avoid using it as a date range display, instead use the date range kit.