Sha256: ca2e15a8f26aa8c0314bfe701b9d235ba40666c6213ca3635bd97cffc4fbbfab

Contents?: true

Size: 280 Bytes

Versions: 1

Compression:

Stored size: 280 Bytes

Contents

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;

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trusty-cms-6.3.1 node_modules/table/dist/src/alignString.d.ts