mirror of
https://github.com/iconify/collections-json.git
synced 2024-11-09 14:51:03 +00:00
chore: add IconifyAlignment type
This commit is contained in:
parent
6f9ffc8f2c
commit
15d3ff1e23
@ -76,6 +76,30 @@ export interface IconifyTransformations {
|
|||||||
vFlip?: boolean
|
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.
|
* Combination of dimensions and transformations.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user