mirror of
https://github.com/SomboChea/ui
synced 2024-11-24 06:54:27 +07:00
This commit is contained in:
parent
797c2381e4
commit
787dda4a01
@ -26,6 +26,9 @@ const InstallListItemText = styled(ListItemText)({
|
|||||||
const PackageMangerAvatar = styled(Avatar)({
|
const PackageMangerAvatar = styled(Avatar)({
|
||||||
borderRadius: '0px',
|
borderRadius: '0px',
|
||||||
padding: '0',
|
padding: '0',
|
||||||
|
img: {
|
||||||
|
backgroundColor: 'transparent',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
export enum DependencyManager {
|
export enum DependencyManager {
|
||||||
|
@ -34,6 +34,14 @@ const RepositoryListItemText = styled(ListItemText)({
|
|||||||
margin: 0,
|
margin: 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const RepositoryAvatar = styled(Avatar)({
|
||||||
|
borderRadius: '0px',
|
||||||
|
padding: '0',
|
||||||
|
img: {
|
||||||
|
backgroundColor: 'transparent',
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
const Repository: React.FC = () => {
|
const Repository: React.FC = () => {
|
||||||
const detailContext = React.useContext(DetailContext);
|
const detailContext = React.useContext(DetailContext);
|
||||||
|
|
||||||
@ -58,7 +66,7 @@ const Repository: React.FC = () => {
|
|||||||
return (
|
return (
|
||||||
<List dense={true} subheader={<StyledText variant="subtitle1">{'Repository'}</StyledText>}>
|
<List dense={true} subheader={<StyledText variant="subtitle1">{'Repository'}</StyledText>}>
|
||||||
<RepositoryListItem button={true}>
|
<RepositoryListItem button={true}>
|
||||||
<Avatar src={git} />
|
<RepositoryAvatar src={git} />
|
||||||
<RepositoryListItemText
|
<RepositoryListItemText
|
||||||
primary={
|
primary={
|
||||||
<CopyToClipBoard text={repositoryURL}>
|
<CopyToClipBoard text={repositoryURL}>
|
||||||
|
Loading…
Reference in New Issue
Block a user