UNPKG

monday-ui-react-core

Version:

Official monday.com UI resources for application development in React.js

12 lines (9 loc) 374 B
import React from "react"; type TypographyContext = { /** * Sets a tolerance for vertical overflow to avoid undeed detetction of overflow * Useful for cases where line-height is set and it's smaller than the font's line-height */ overflowTolerance: number; }; export const TypographyContext = React.createContext<TypographyContext>({ overflowTolerance: 0 });