Basic
- First
- Second
- Third
<OL>
<li>First</li>
<li>Second</li>
<li>Third</li>
</OL>
Outside
- First
- Second
- Third
<OL bulletLocation="outside">
<li>First</li>
<li>Second</li>
<li>Third</li>
</OL>
Props
bulletLocation
Required
false
Type
'inside' | 'outside'
Default
'inside'
children
*Required
true
Type
ComponentChild
Default
none
...rest
Required
false
Type
ComponentProps<"ol">
Default
none
Notes
See the docs for rest parameters. For
OL
, you could pass anything you normally would pass to <ol>
because the return value looks something like this:<ol class={className} {...restWithoutClass}>
{children}
</ol>