mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
created placeholder ListGroup.js, not currently used
This commit is contained in:
parent
7895e21d51
commit
cd9a5dbbe9
19
admin/client/src/components/ListGroup/ListGroup.js
Normal file
19
admin/client/src/components/ListGroup/ListGroup.js
Normal file
@ -0,0 +1,19 @@
|
||||
import React from 'react';
|
||||
import SilverStripeComponent from 'lib/SilverStripeComponent';
|
||||
import ListGroupItem from './ListGroupItem';
|
||||
|
||||
class ListGroup extends SilverStripeComponent {
|
||||
render() {
|
||||
return (
|
||||
<div className="list-group">
|
||||
{this.props.items.map(() => <ListGroupItem />)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
ListGroup.propTypes = {
|
||||
items: React.PropTypes.array,
|
||||
};
|
||||
|
||||
export default ListGroup;
|
@ -1,5 +1,3 @@
|
||||
// TODO move to its own component list-group
|
||||
|
||||
import React from 'react';
|
||||
import SilverStripeComponent from 'lib/SilverStripeComponent';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user