import { Button, Flex, NoticeBox } from '../../components';
export const InterfaceLockNoticeBox = props => {
const {
siliconUser,
locked,
onLockStatusChange,
accessText,
} = props;
// For silicon users
if (siliconUser) {
return (
Interface lock status:
);
}
// For everyone else
return (
Swipe {accessText || 'an ID card'}{' '}
to {locked ? 'unlock' : 'lock'} this interface.
);
};