mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-09 05:08:28 +08:00
R=jacktfranklin@chromium.org Bug: none Change-Id: I961be18530d3ccbc4efed0c2cda9bd603b14e27b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3372931 Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Tim Van der Lippe <tvanderlippe@chromium.org>
7 lines
280 B
TypeScript
7 lines
280 B
TypeScript
import type { Alignment } from './types/api';
|
|
/**
|
|
* Pads a string to the left and/or right to position the subject
|
|
* text in a desired alignment within a container.
|
|
*/
|
|
export declare const alignString: (subject: string, containerWidth: number, alignment: Alignment) => string;
|