MCPcopy Create free account
hub / github.com/algorithm-visualizer/algorithm-visualizer / render

Method render

src/components/ListItem/index.js:7–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6class ListItem extends React.Component {
7 render() {
8 const { className, children, indent, label, ...props } = this.props;
9
10 return (
11 <Button className={classes(styles.list_item, indent && styles.indent, className)} {...props}>
12 <Ellipsis className={styles.label}>{label}</Ellipsis>
13 {children}
14 </Button>
15 );
16 }
17}
18
19export default ListItem;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected