Created
October 15, 2020 10:18
-
-
Save donavon/ac1fa11d6a96693ae49fb8333442b851 to your computer and use it in GitHub Desktop.
Naming is hard — Order
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { OrderProps } from "./OrderProps.types"; | |
export const Order = ({ order }: OrderProps) => { | |
return <div>...</div>; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Order } from "../types/Order.types"; | |
export type OrderProps = { | |
order: Order; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment