Skip to content

Commit

Permalink
Update Date types
Browse files Browse the repository at this point in the history
  • Loading branch information
thestephenmarshall committed Aug 10, 2020
1 parent 2699136 commit ee4b6b3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Expand Up @@ -9,9 +9,9 @@ import { globalProps } from '../utilities/globalProps.js'
type DateRangeInlineProps = {
className?: string,
data?: string,
endDate?: Date,
endDate?: date,
id?: string,
startDate?: Date,
startDate?: date,
}

const dateTimestamp = (dateValue) => {
Expand Down
Expand Up @@ -7,8 +7,8 @@ import { globalProps } from '../utilities/globalProps.js'
type DateTimeStackedProps = {
data?: string,
id?: string,
date: Date,
dark: Boolean,
date: date,
dark: boolean,
}

const DateTimeStacked = (props: DateTimeStackedProps) => {
Expand Down
4 changes: 2 additions & 2 deletions app/pb_kits/playbook/pb_label_value/_label_value.jsx
Expand Up @@ -19,8 +19,8 @@ type LabelValueProps = {
icon?: string,
description?: string,
title?: string,
date?: Date,
active?: Boolean
date?: date,
active?: boolean
}

const dateString = (value: DateTime) => {
Expand Down
2 changes: 1 addition & 1 deletion app/pb_kits/playbook/pb_timeline/_item.jsx
Expand Up @@ -8,7 +8,7 @@ import { DateStacked, IconCircle } from '..'
type ItemProps = {
className?: string,
children?: array<React.Node>,
date?: Date,
date?: date,
icon?: string,
iconColor?: 'default' | 'royal' | 'blue' | 'purple' | 'teal' | 'red' | 'yellow' | 'green',
lineStyle?: 'solid' | 'dotted',
Expand Down
4 changes: 2 additions & 2 deletions app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.jsx
Expand Up @@ -12,8 +12,8 @@ import DateTime from '../pb_kit/dateTime.js'
type WeekdayStackedProps = {
align?: "left" | "center" | "right",
className?: string,
dark?: Boolean,
date: Date,
dark?: boolean,
date: date,
variant?: "day_only" | "month_day" | "expanded",
compact?: Boolean,
id?: string,
Expand Down

0 comments on commit ee4b6b3

Please sign in to comment.