Archived
1
0
This repository has been archived on 2023-05-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
home-page/node_modules/table/dist/src/alignString.d.ts
Sean Edmunds 0584430b5c First commit
2021-12-13 17:00:40 -06:00

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;