2
0
mirror of https://github.com/iconify/collections-json.git synced 2024-09-19 10:29:03 +00:00

chore: add IconifyAlignment type

This commit is contained in:
Joaquín Sánchez Jiménez 2021-09-13 19:46:11 +02:00
parent 6f9ffc8f2c
commit 15d3ff1e23

View File

@ -76,6 +76,30 @@ export interface IconifyTransformations {
vFlip?: boolean
}
/**
* Icon alignment.
*/
export interface IconifyAlignment {
/**
* Icon horizontal alignment.
*
* @default 'center'
*/
horizontal: 'center' | 'left' | 'right'
/**
* Icon vertical alignment.
*
* @default 'middle'
*/
vertical: 'middle' | 'top' | 'bottom'
/**
* Slice?
*
* @default false
*/
slice: boolean
}
/**
* Combination of dimensions and transformations.
*/