Default Search Provider support; Style updates
This commit is contained in:
@@ -6,10 +6,12 @@ export function ManagementPill({
|
||||
enabled,
|
||||
onChange,
|
||||
openModal,
|
||||
label = ['Disabled', 'Enabled'],
|
||||
}: {
|
||||
enabled: number;
|
||||
onChange: any;
|
||||
openModal: () => void;
|
||||
label?: [string, string];
|
||||
}) {
|
||||
return (
|
||||
<Group
|
||||
@@ -30,7 +32,7 @@ export function ManagementPill({
|
||||
c={'var(--mantine-color-primary-0)'}
|
||||
bg={'var(--mantine-color-background-0)'}
|
||||
bd={'solid 1px var(--mantine-color-border-0)'}
|
||||
label={enabled === 1 ? 'Enabled' : 'Disabled'}
|
||||
label={label[enabled]}
|
||||
refProp='rootRef'
|
||||
styles={{
|
||||
tooltip: { marginTop: '-.5rem' },
|
||||
|
||||
Reference in New Issue
Block a user