You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
314 B

  1. export const HEIGHT_CACHE_SET = 'HEIGHT_CACHE_SET';
  2. export const HEIGHT_CACHE_CLEAR = 'HEIGHT_CACHE_CLEAR';
  3. export function setHeight (key, id, height) {
  4. return {
  5. type: HEIGHT_CACHE_SET,
  6. key,
  7. id,
  8. height,
  9. };
  10. };
  11. export function clearHeight () {
  12. return {
  13. type: HEIGHT_CACHE_CLEAR,
  14. };
  15. };