feat: add page footer
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
import { MaxHeightRatio } from '../enum/Common'
|
||||
|
||||
export const ZERO = '\u200B'
|
||||
export const WRAP = '\n'
|
||||
export const HORIZON_TAB = '\t'
|
||||
export const NBSP = '\u0020'
|
||||
export const NBSP = '\u0020'
|
||||
|
||||
export const maxHeightRadioMapping: Record<MaxHeightRatio, number> = {
|
||||
[MaxHeightRatio.HALF]: 1 / 2,
|
||||
[MaxHeightRatio.ONE_THIRD]: 1 / 3,
|
||||
[MaxHeightRatio.QUARTER]: 1 / 4
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import { IFooter } from '../../interface/Footer'
|
||||
import { MaxHeightRatio } from '../enum/Common'
|
||||
|
||||
export const defaultFooterOption: Readonly<Required<IFooter>> = {
|
||||
bottom: 30,
|
||||
maxHeightRadio: MaxHeightRatio.HALF
|
||||
}
|
||||
@@ -1,13 +1,7 @@
|
||||
import { IHeader } from '../../interface/Header'
|
||||
import { HeaderMaxHeightRatio } from '../enum/Header'
|
||||
import { MaxHeightRatio } from '../enum/Common'
|
||||
|
||||
export const defaultHeaderOption: Readonly<Required<IHeader>> = {
|
||||
top: 30,
|
||||
maxHeightRadio: HeaderMaxHeightRatio.HALF
|
||||
}
|
||||
|
||||
export const maxHeightRadioMapping: Record<HeaderMaxHeightRatio, number> = {
|
||||
[HeaderMaxHeightRatio.HALF]: 1 / 2,
|
||||
[HeaderMaxHeightRatio.ONE_THIRD]: 1 / 3,
|
||||
[HeaderMaxHeightRatio.QUARTER]: 1 / 4
|
||||
maxHeightRadio: MaxHeightRatio.HALF
|
||||
}
|
||||
Reference in New Issue
Block a user