Improvements to mobile UI (#119)

This commit is contained in:
Luke Vella 2022-04-20 16:09:38 +01:00 committed by GitHub
parent f206d31083
commit dde0fe8ea1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 971 additions and 317 deletions

View file

@ -0,0 +1,26 @@
import * as React from "react";
import DateCard from "@/components/date-card";
import PollOption, { PollOptionProps } from "./poll-option";
export interface DateOptionProps extends PollOptionProps {
dow: string;
day: string;
month: string;
}
const DateOption: React.VoidFunctionComponent<DateOptionProps> = ({
dow,
day,
month,
...rest
}) => {
return (
<PollOption {...rest}>
<DateCard dow={dow} day={day} month={month} />
</PollOption>
);
};
export default DateOption;