/**
* Internal dependencies
*/
import { Icon } from '../icon';
export const OperatingSystem = ( {
type,
showTooltip = true,
}: {
readonly type: string;
readonly showTooltip?: boolean;
} ): JSX.Element => {
if ( type.startsWith( 'Windows' ) ) {
return (
);
} //end if
if (
type.startsWith( 'Mac OS' ) ||
type.toLowerCase().startsWith( 'macos' )
) {
return ;
} //end if
if ( type.startsWith( 'iOS' ) ) {
return (
);
} //end if
if ( type.startsWith( 'Android' ) ) {
return (
);
} //end if
if ( type.startsWith( 'Chromium OS' ) ) {
return (
);
} //end if
if ( type.startsWith( 'Ubuntu' ) ) {
return (
);
} //end if
if (
type.startsWith( 'Linux' ) ||
type.startsWith( 'RedHat' ) ||
type.startsWith( 'SUSE' ) ||
type.startsWith( 'Fedora' )
) {
return ;
} //end if
return ;
};