import React, { useMemo } from 'react';
import { SelectedTextColorContext } from './SelectedTextColorContext';
export const SelectedTextColorProvider = ({
  children,
  defaultColor,
  textColor
}) => {
  const value = useMemo(() => ({
    defaultColor,
    textColor
  }), [defaultColor, textColor]);
  return /*#__PURE__*/React.createElement(SelectedTextColorContext.Provider, {
    value: value
  }, children);
};