mirror of https://github.com/buster-so/buster.git
popup conatiner for users
This commit is contained in:
parent
5d8a3a3337
commit
e1a23a0656
|
@ -95,7 +95,6 @@ export const ListUsersComponent: React.FC<{
|
||||||
[activeUsers, inactiveUsers]
|
[activeUsers, inactiveUsers]
|
||||||
);
|
);
|
||||||
|
|
||||||
// <BusterListSelectedOptionPopupContainer />;
|
|
||||||
return (
|
return (
|
||||||
<InfiniteListContainer
|
<InfiniteListContainer
|
||||||
showContainerBorder={false}
|
showContainerBorder={false}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { BusterListSelectedOptionPopupContainer } from '@/components/list';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
export const UserListPopupContainer = React.memo(
|
export const UserListPopupContainer = React.memo(
|
||||||
|
@ -8,8 +9,21 @@ export const UserListPopupContainer = React.memo(
|
||||||
selectedRowKeys: string[];
|
selectedRowKeys: string[];
|
||||||
onSelectChange: (selectedRowKeys: string[]) => void;
|
onSelectChange: (selectedRowKeys: string[]) => void;
|
||||||
}) => {
|
}) => {
|
||||||
return <div>UserListPopupContainer</div>;
|
return (
|
||||||
|
<BusterListSelectedOptionPopupContainer
|
||||||
|
selectedRowKeys={selectedRowKeys}
|
||||||
|
onSelectChange={onSelectChange}
|
||||||
|
buttons={[]}
|
||||||
|
/>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
UserListPopupContainer.displayName = 'UserListPopupContainer';
|
UserListPopupContainer.displayName = 'UserListPopupContainer';
|
||||||
|
|
||||||
|
const PermissionGroupAssignButton: React.FC<{
|
||||||
|
selectedRowKeys: string[];
|
||||||
|
onSelectChange: (selectedRowKeys: string[]) => void;
|
||||||
|
}> = React.memo(({ selectedRowKeys, onSelectChange }) => {
|
||||||
|
return <div>PermissionGroupAssignButton</div>;
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in New Issue