Bluesky's "Application Layout Framework"

docs: update docblock for leading util

+4 -1
+4 -1
src/utils/leading.ts
··· 9 9 * web, it will be a unitless string. 10 10 * 11 11 * Example: 12 - * `leading(atoms.text_sm, atoms.leading_snug)` // => 17 12 + * `leading({ 13 + * fontSize: 15, 14 + * lineHeight: 1.2 15 + * })` // => { lineHeight: 17 } 13 16 */ 14 17 export function leading(textStyle: TextStyle): Pick<TextStyle, 'lineHeight'> { 15 18 const lineHeight = textStyle?.lineHeight || tokens.lineHeight.snug