@hailer-oy/birds-eye
Version:
This component library directory contains all the react components for Hailer Bird's Eye! Developing these componets happens [here](https://github.com/KvanttoriOy/birds-eye/tree/master/birds-eye-components), only copy your changes in lib from there to src
9 lines (8 loc) • 308 B
TypeScript
/**
* Calculates the physical size of the string.
* This function does not do its job perfectly, maybe wrap the rect and the text into a group?
*
* @author Teemu Salonen <teemu.salonen@kvanttori.fi>
*/
declare const calculateNameSize: (name: string) => number;
export default calculateNameSize;