import React, {Component} from 'react';
import { connect } from 'redux';
import { certainAction } from '../actions';
class Example extends Component {
render() {
return (
<div>Example</div>
)
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 { connect } from 'react-redux' | |
import * as styles from './ComponentName.css' | |
export interface Props { | |
} | |
const ComponentName: React.SFC<Props> = (props): React.ReactElement<any> => ( |
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
1. install this package | |
``` | |
yarn add https://github.com/Quramy/typed-css-modules -D | |
``` | |
2. In webpack | |
``` | |
{ | |
test: /\.css$/, | |
use: [ |
This is a simple brief about typescirpt add scss loader.
Here are some resourse
Deploy YOSGO Dashboard on heroku. Skip to the bottom Our solution
This note is about yosgo dashboard project install and use airbnb eslint. Also known as TSlint
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
//--Color-- | |
$lightGrayBg: #f9fafc; | |
$gray: #9b9b9b; | |
$green: #07C9C6; | |
$red: #f05945; | |
$lightGrayFieldBorder: #e3e6ee; | |
$lightGrayLine: #e3e6ee; | |
$grayWord: #9b9b9b; | |
//--FontSize-- |
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 './index.css'; | |
const Component = () => ( | |
<div>A simple component</div> | |
); | |
export default Component; |
OlderNewer