Skip to content

Instantly share code, notes, and snippets.

View martinhalik's full-sized avatar

Martin Halik martinhalik

View GitHub Profile
@martinhalik
martinhalik / CountReadTimeOverride.tsx
Created April 1, 2024 12:04
ReadTime in Framer 2024
import React from "react"
import type { ComponentType } from "react"
import { createStore } from "https://framer.com/m/framer/store.js@^1.0.0"
// Learn more: https://www.framer.com/docs/guides/overrides/
// 1. Setup shared store
const useStore = createStore({
content: "",
numberOfWords: 0,