2019-07-29 18:54:46 +02:00
|
|
|
// @flow
|
2019-03-18 06:06:41 +01:00
|
|
|
import React from 'react';
|
|
|
|
import Button from 'component/button';
|
|
|
|
|
2019-07-29 18:54:46 +02:00
|
|
|
type Props = {
|
|
|
|
type?: string,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default function UnsupportedOnWeb(props: Props) {
|
|
|
|
const { type = 'page' } = props;
|
|
|
|
|
2019-03-18 06:06:41 +01:00
|
|
|
return (
|
2019-06-28 09:27:55 +02:00
|
|
|
IS_WEB && (
|
2019-07-29 18:54:46 +02:00
|
|
|
<div className="card__subtitle--status">
|
|
|
|
{type === 'page' && __('This page is not currently supported on the web')}
|
|
|
|
{type === 'feature' && __('This feature is not currently supported on the web')}.{' '}
|
2019-06-28 09:27:55 +02:00
|
|
|
<Button button="link" label={__('Download the desktop app')} href="https://lbry.com/get" /> for full feature
|
|
|
|
support.
|
|
|
|
</div>
|
|
|
|
)
|
2019-03-18 06:06:41 +01:00
|
|
|
);
|
|
|
|
}
|