You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-Font size is derived from `markerStyle` prop. - Will be ignored when [MarkedListProps.dynamicMarkerBoxWidth](./react-native-li.markedlistprops.dynamicmarkerboxwidth.md) is set to `false`<!---->.
Copy file name to clipboardExpand all lines: packages/react-native-li/docs/react-native-li.markedlistprops.markerboxstyle.md
+6-1
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,15 @@
4
4
5
5
## MarkedListProps.markerBoxStyle property
6
6
7
-
Style for the marker box container. It is discouraged to set `(min,max)width` that way. Use [MarkedListProps.computeMarkerBoxWidth](./react-native-li.markedlistprops.computemarkerboxwidth.md) instead.
7
+
Style for the marker box container.
8
8
9
9
<b>Signature:</b>
10
10
11
11
```typescript
12
12
markerBoxStyle?:StyleProp<ViewStyle>;
13
13
```
14
+
15
+
## Remarks
16
+
17
+
It is discouraged to set `(min,max)width` when [MarkedListProps.dynamicMarkerBoxWidth](./react-native-li.markedlistprops.dynamicmarkerboxwidth.md) is set to `true`<!---->. In that case, use [MarkedListProps.computeMarkerBoxWidth](./react-native-li.markedlistprops.computemarkerboxwidth.md) instead.
Copy file name to clipboardExpand all lines: packages/react-native-li/docs/react-native-li.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
|[MarkedList({ children, Container, ...props })](./react-native-li.markedlist.md)| A component which given a counter style, wraps each of its children with a [MarkedListItem()](./react-native-li.markedlistitem.md)<!---->. The latter prepends the child with a marker box containing a marker string representation for this child index.<!---->See [CSS Lists and Counters Module Level 3, Markers](https://www.w3.org/TR/css-lists-3/#markers)<!---->. |
12
12
|[MarkedListItem({ counterRenderer, index, startIndex, rtlLineReversed, rtlMarkerReversed, markerTextStyle, markerBoxStyle, maxNumOfCodepoints, markerTextWidth, style, renderMarker, children })](./react-native-li.markedlistitem.md)| A component which reproduces CSS3 <code>display: list-item;</code> behavior. It prepends its child with a marker box containing a marker string representation for this child index.<!---->See [CSS Lists and Counters Module Level 3, Markers](https://www.w3.org/TR/css-lists-3/#markers)<!---->. |
13
13
|[MarkerBox({ style, counterRenderer, counterIndex, markerTextStyle, markerTextWidth })](./react-native-li.markerbox.md)| Default component to render the list marker.<!---->See [CSS Lists and Counters Module Level 3, Markers](https://www.w3.org/TR/css-lists-3/#marker-pseudo)|
14
-
|[useMarkedList({ counterRenderer, startIndex, lineStyle, rtlLineReversed, rtlMarkerReversed, markerTextStyle, markerBoxStyle, length, renderMarker, computeMarkerBoxWidth })](./react-native-li.usemarkedlist.md)| A hook to reuse MarkedList logic to render custom lists components in combination with [MarkedListItem()](./react-native-li.markedlistitem.md)<!---->. |
14
+
|[useMarkedList({ counterRenderer, startIndex, lineStyle, rtlLineReversed, rtlMarkerReversed, markerTextStyle, markerBoxStyle, dynamicMarkerBoxWidth, length, renderMarker, computeMarkerBoxWidth })](./react-native-li.usemarkedlist.md)| A hook to reuse MarkedList logic to render custom lists components in combination with [MarkedListItem()](./react-native-li.markedlistitem.md)<!---->. |
0 commit comments