Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ListGroup): Add ListGroupNumbered
- Loading branch information
Showing
5 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react'; | ||
import { ListGroup, ListGroupItem } from 'reactstrap'; | ||
|
||
const Example = (props) => { | ||
return ( | ||
<div> | ||
<p>The <code>numbered</code> prop can be used to opt into numbered list group items.</p> | ||
<ListGroup numbered> | ||
<ListGroupItem>Cras justo odio</ListGroupItem> | ||
<ListGroupItem>Dapibus ac facilisis in</ListGroupItem> | ||
<ListGroupItem>Morbi leo risus</ListGroupItem> | ||
<ListGroupItem>Porta ac consectetur ac</ListGroupItem> | ||
<ListGroupItem>Vestibulum at eros</ListGroupItem> | ||
</ListGroup> | ||
</div> | ||
|
||
); | ||
} | ||
|
||
export default Example; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters