RocketChat/Rocket.Chat

View on GitHub
packages/ui-client/src/components/UserStatus/Away.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import type { ComponentProps, ReactElement } from 'react';

import UserStatus from './UserStatus';

type AwayProps = Omit<ComponentProps<typeof UserStatus>, 'status'>;

function Away(props: AwayProps): ReactElement {
    return <UserStatus status='away' {...props} />;
}

export default Away;