mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
14 lines
352 B
TypeScript
14 lines
352 B
TypeScript
import React from "react";
|
|
import { ListItem, ListItemText, Divider } from "@material-ui/core";
|
|
|
|
export const SettingItem = ({ options, label, value, onClick }) => {
|
|
return (
|
|
<>
|
|
<ListItem onClick={() => onClick(options)} button>
|
|
<ListItemText primary={label} secondary={value} />
|
|
</ListItem>
|
|
<Divider />
|
|
</>
|
|
);
|
|
};
|