@zohodesk/hooks
Version:
Unified Component Library - Hooks
54 lines • 782 B
JavaScript
export default {
topStart: {
bottom: '100%',
right: 0
},
topEnd: {
bottom: '100%',
left: 0
},
topMid: {
bottom: '100%',
left: '50%',
transform: 'translateX(-50%)'
},
bottomStart: {
top: '100%',
right: '0'
},
bottomEnd: {
top: '100%',
left: 0
},
bottomMid: {
top: '100%',
left: '50%',
transform: 'translateX(-50%)'
},
rightStart: {
left: '100%',
bottom: '0'
},
rightEnd: {
left: '100%',
top: '0'
},
rightMid: {
left: '100%',
top: '50%',
transform: 'translateY(-50%)'
},
leftStart: {
right: '100%',
bottom: '0'
},
leftEnd: {
right: '100%',
top: '0'
},
leftMid: {
right: '100%',
top: '50%',
transform: 'translateY(-50%)'
}
};