diff --git a/src/pages/StatsView/components/EmbeddedComponent.tsx b/src/pages/StatsView/components/EmbeddedComponent.tsx new file mode 100644 index 00000000..90f4e7bc --- /dev/null +++ b/src/pages/StatsView/components/EmbeddedComponent.tsx @@ -0,0 +1,38 @@ +import styled from 'styled-components/macro' + +import { ButtonSolid, Input } from 'features/Common' + +const EmbedContainer = styled.div` + display: flex; + flex-direction: column; + align-items: center; + max-width: 100%; +` + +const EmbedInput = styled(Input)` + margin: 0; + max-width: 400px; +` + +type EmbedProps = { + url: string, +} + +export const EmbeddedComponent = ({ url }:EmbedProps) => { + const iframeString = `