import React from 'react' import { Select } from 'antd' const { Option } = Select import { PIVOT_CHART_FONT_FAMILIES, PIVOT_CHART_FONT_SIZES, PIVOT_CHART_FONT_WEIGHTS, PIVOT_CHART_FONT_STYLE, PIVOT_DEFAULT_FONT_COLOR, DEFAULT_FONT_STYLE} from 'app/globalConstants' import { ITableCellStyle } from './types' export const DEFAULT_TABLE_FIXED_WIDTH = 100 export const fontWeightOptions = PIVOT_CHART_FONT_WEIGHTS.map((w) => ( )) export const fontStyleOptions = PIVOT_CHART_FONT_STYLE.map((s) => ( )) export const fontFamilyOptions = PIVOT_CHART_FONT_FAMILIES.map((f) => ( )) export const fontSizeOptions = PIVOT_CHART_FONT_SIZES.map((s) => ( )) export const DefaultTableCellStyle: ITableCellStyle = { fontSize: '12', fontFamily: PIVOT_CHART_FONT_FAMILIES[0].value, fontWeight: PIVOT_CHART_FONT_WEIGHTS[0], fontColor: PIVOT_DEFAULT_FONT_COLOR, fontStyle: DEFAULT_FONT_STYLE, backgroundColor: 'transparent', justifyContent: 'flex-start', inflexible: false, width: DEFAULT_TABLE_FIXED_WIDTH }