Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
>
Modal Content!
);
// Minimal Setup
const test3 = (
Modal Content!
);
const StyledModal = Modal.styled`
background: red;
`;
const test4 = (
console.log('Background click!')}>
Modal Content!
);
import { useQuery } from 'react-apollo'
import * as _ from 'lodash'
import { icons } from '_assets/'
import Button from '_components/button'
import IconButton from '_components/icon-button'
import Box from '_components/box'
import Text from '_components/text'
import TextInput from '_components/inputs/text-input'
import SearchInput from '_components/inputs/search-input'
import { GET_HOSTS } from '_graphql/actions'
const StyledModal = Modal.styled`
background: white;
width: 480px;
height: 620px;
display: flex;
flex-direction: column;
border-radius: 4px;
position: relative;
padding: 32px;
${border}
${shadow}
`
const StyledIconButton = styled(IconButton)`
position: absolute;
right: 2px;
top: 2px;
overflow: hidden;
text-overflow: ellipsis;
min-width: 0px;
& > span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
`
export const UserStatus = styled(Status)`
left: 34px;
top: 37px;
`
export const StyledModal = Modal.styled`
background: ${({ theme }) => theme.backgroundColor};
opacity: ${(props: { opacity: number }) => props.opacity};
font-size: 16px;
padding: 16px;
transition: opacity ease 200ms;
border: none;
border-radius: 8px;
`
box-sizing: border-box;
color: #cccccc;
font-size: 18px;
padding: 14px;
display: block;
height: 40px;
width: 100%;
border: none;
border-radius: 8px;
border-bottom: none;
caret-color: #14bca3;
&:focus {
outline: none;
}
`
export const StyledModal = Modal.styled`
background: ${({ theme }) => theme.backgroundColor};
opacity: ${(props: { opacity: number }) => props.opacity};
font-size: 16px;
padding: 16px;
transition: opacity ease 200ms;
border: none;
border-radius: 8px;
`
height: 40px;
width: 100%;
border: none;
border-radius: 8px;
border-bottom: none;
caret-color: #14bca3;
&:focus {
outline: none;
}
`
export const ChannelInput = styled.div`
padding-top: 10px;
`
export const StyledModal = Modal.styled`
background: ${({ theme }) => theme.backgroundColor};
opacity: ${(props: { opacity: number }) => props.opacity};
font-size: 16px;
padding: 16px;
transition: opacity ease 200ms;
border: none;
border-radius: 8px;
`
import styled from '../../utils/styled-components'
import Modal from 'styled-react-modal'
export const Wrapper = styled.div`
&:hover {
color: ${({ theme }) => theme.accentColor};
text-decoration: underline;
}
cursor: pointer;
`
export const StyledModal = Modal.styled`
background: ${({ theme }) => theme.backgroundColor};
opacity: ${(props: { opacity: number }) => props.opacity};
font-size: 16px;
padding: 16px;
transition: opacity ease 200ms;
border: none;
border-radius: 8px;
`