UNPKG
@ka1do/kit
Version:
latest (0.0.3)
0.0.3
Kaido Kit
github.com/kaido-team/kaido-kit
kaido-team/kaido-kit
@ka1do/kit
/
helpers
/
node_modules
/
table
/
dist
/
alignString.d.ts
7 lines
(6 loc)
•
246 B
TypeScript
View Raw
1
2
3
4
5
6
7
declare
const
_default
:
(
subject
:
string
,
containerWidth
:
number
,
alignment
:
string
) =>
string
;
/** * Pads a string to the left and/or right to position the subject * text in a desired alignment within a container. */
export
default
_default;