forked from cerc-io/snowballtools-base
🎨 style: add github icon
This commit is contained in:
parent
d52a34da35
commit
075cec58e5
@ -130,6 +130,7 @@ export const RepositoryList = ({ octokit }: RepositoryListProps) => {
|
|||||||
options={options}
|
options={options}
|
||||||
placeholder="Select a repository"
|
placeholder="Select a repository"
|
||||||
value={selectedAccount}
|
value={selectedAccount}
|
||||||
|
leftIcon={selectedAccount ? <GithubIcon /> : undefined}
|
||||||
rightIcon={<ChevronGrabberHorizontal />}
|
rightIcon={<ChevronGrabberHorizontal />}
|
||||||
onChange={(value) => setSelectedAccount(value as SelectOption)}
|
onChange={(value) => setSelectedAccount(value as SelectOption)}
|
||||||
/>
|
/>
|
||||||
|
@ -375,6 +375,8 @@ export const Select = ({
|
|||||||
'w-6': isMultipleHasValueButNotSearchable && !hideValues,
|
'w-6': isMultipleHasValueButNotSearchable && !hideValues,
|
||||||
// Add margin to the X icon
|
// Add margin to the X icon
|
||||||
'ml-6': isMultipleHasValueButNotSearchable && clearable,
|
'ml-6': isMultipleHasValueButNotSearchable && clearable,
|
||||||
|
// Add padding if there's a left icon
|
||||||
|
'pl-7': leftIcon,
|
||||||
},
|
},
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user