Skip to content

Instantly share code, notes, and snippets.

@donavon
Created October 15, 2020 10:18
Show Gist options
  • Save donavon/ac1fa11d6a96693ae49fb8333442b851 to your computer and use it in GitHub Desktop.
Save donavon/ac1fa11d6a96693ae49fb8333442b851 to your computer and use it in GitHub Desktop.
Naming is hard — Order
import React from "react";
import { OrderProps } from "./OrderProps.types";
export const Order = ({ order }: OrderProps) => {
return <div>...</div>;
};
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