projecte_ionic/node_modules/table/dist/alignString.d.ts
2022-02-09 18:30:03 +01:00

6 lines
280 B
TypeScript
Executable file

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;