import React from 'react'; export type SizeType = 'small' | 'middle' | 'large' | undefined; const SizeContext = React.createContext(undefined); export interface SizeContextProps { size?: SizeType; children?: React.ReactNode; } export const SizeContextProvider: React.FC = ({ children, size }) => { const originSize = React.useContext(SizeContext); return {children}; }; export default SizeContext;