You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
526 B
25 lines
526 B
|
2 years ago
|
const defaultIconDimensions = Object.freeze(
|
||
|
|
{
|
||
|
|
left: 0,
|
||
|
|
top: 0,
|
||
|
|
width: 16,
|
||
|
|
height: 16
|
||
|
|
}
|
||
|
|
);
|
||
|
|
const defaultIconTransformations = Object.freeze({
|
||
|
|
rotate: 0,
|
||
|
|
vFlip: false,
|
||
|
|
hFlip: false
|
||
|
|
});
|
||
|
|
const defaultIconProps = Object.freeze({
|
||
|
|
...defaultIconDimensions,
|
||
|
|
...defaultIconTransformations
|
||
|
|
});
|
||
|
|
const defaultExtendedIconProps = Object.freeze({
|
||
|
|
...defaultIconProps,
|
||
|
|
body: "",
|
||
|
|
hidden: false
|
||
|
|
});
|
||
|
|
|
||
|
|
export { defaultExtendedIconProps, defaultIconDimensions, defaultIconProps, defaultIconTransformations };
|