[Home](./index.md) > [@jsamr/react-native-li](./react-native-li.md) > [MarkedListProps](./react-native-li.markedlistprops.md) > [computeMarkerBoxWidth](./react-native-li.markedlistprops.computemarkerboxwidth.md) ## MarkedListProps.computeMarkerBoxWidth property A function to compute marker box width depending on the maximum length of the marker string in range. Signature: ```typescript computeMarkerBoxWidth?: (maxCodepointsLengthInRange: number, fontSize: number) => number; ``` ## Remarks - Font size is derived from `markerStyle` prop. - Will be ignored when [MarkedListProps.dynamicMarkerBoxWidth](./react-native-li.markedlistprops.dynamicmarkerboxwidth.md) is set to `false`.