UNPKG

contenido

Version:

Contenido is a library with a set of tools to help you create your own rich text editor on top of draft-js without thinking about how to handle things.

10 lines (6 loc) 229 B
// Custom Utilites import getAtomicCount from './getAtomicCount'; // Custom Types import type { State } from '../../types'; const getImageCount = (state: State) => getAtomicCount(state, 'image'); export default getImageCount;