Repository URL to install this package:
Version:
0.9.6 ▾
|
/**
*
* @param alignType prefix | suffix
* receives the align type as a string format
* and return the flex order index value to position the element
*/
function getBarCountPosition(alignType: string): string {
switch (alignType) {
case 'prefix':
return '0'
case 'suffix':
return '1'
default:
return 'none'
}
}
export { getBarCountPosition }