mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
27 lines
616 B
JavaScript
27 lines
616 B
JavaScript
|
import style from './style';
|
||
|
import compose from './compose';
|
||
|
export const displayPrint = style({
|
||
|
prop: 'displayPrint',
|
||
|
cssProperty: false,
|
||
|
transform: value => ({
|
||
|
'@media print': {
|
||
|
display: value
|
||
|
}
|
||
|
})
|
||
|
});
|
||
|
export const displayRaw = style({
|
||
|
prop: 'display'
|
||
|
});
|
||
|
export const overflow = style({
|
||
|
prop: 'overflow'
|
||
|
});
|
||
|
export const textOverflow = style({
|
||
|
prop: 'textOverflow'
|
||
|
});
|
||
|
export const visibility = style({
|
||
|
prop: 'visibility'
|
||
|
});
|
||
|
export const whiteSpace = style({
|
||
|
prop: 'whiteSpace'
|
||
|
});
|
||
|
export default compose(displayPrint, displayRaw, overflow, textOverflow, visibility, whiteSpace);
|