This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import styled from 'styled-components' | |
import { pTr } from '../../styles/typography' | |
/** | |
* http://tobiasahlin.com/spinkit/ | |
*/ | |
const CubeSpinnerContainer = styled.div` | |
position: ${({ isAbsolute }) => (isAbsolute ? 'absolute' : 'fixed')}; | |
top: 50%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import styled from 'styled-components' | |
import { mixin } from 'styles' | |
const Wrap = styled.div` | |
${mixin.clearFix()}; | |
font-size: 14px; | |
&:not(:last-child) { | |
margin-right: 27px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react' | |
import styled from 'styled-components' | |
import { color, mixin } from 'styles' | |
const CheckBoxGroup = styled.div` | |
display: inline-flex; | |
align-items: center; | |
& > input { | |
display: none; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react' | |
import { Transition } from 'react-transition-group' | |
type Props = { | |
in: boolean, | |
keyProp: string, | |
duration: number, | |
style?: any, | |
initialTop: string, // entering 시작할 때 top 값 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react' | |
import { Transition } from 'react-transition-group' | |
const defaultDuration = 400 | |
const initialRight = '-1024px' | |
const enteredRight = '0' | |
const defaultStyle = { | |
position: 'relative', | |
transition: `all ${defaultDuration}ms ease-in-out`, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react' | |
import { Transition } from 'react-transition-group' | |
const defaultDuration = 400 | |
const defaultStyle = { | |
transition: `opacity ${defaultDuration}ms ease-in-out`, | |
opacity: 0, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import styled from 'styled-components' | |
const Wrap = styled.div` | |
display: block; | |
width: 100%; | |
background-color: #ffffff; | |
border: solid 1px #dee0e4; | |
padding: 10px 12px; | |
font-size: 12px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import ReactModal from 'react-modal' | |
import styled from 'styled-components' | |
import { I18n } from 'react-i18next' | |
import { mixin } from 'styles' | |
const MODAL_BODY_WIDTH = '500px' | |
const ModalBody = styled.div` | |
position: relative; |
NewerOlder