website-templates
Version:
A React component for an Website Templates styled with Tailwind CSS
18 lines (17 loc) • 436 B
TypeScript
import React from "react";
interface PriceData {
bid: number;
ask: number;
high: number;
low: number;
timestamp: string;
}
interface PriceContextType {
currentPrice: PriceData;
priceHistory: PriceData[];
}
export declare function PriceProvider({ children }: {
children: React.ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare function usePriceContext(): PriceContextType;
export {};