提交 b997ca8f 编写于 作者: N nkzawa

Merge branch 'master' of https://github.com/zeit/next.js

......@@ -50,7 +50,7 @@ We use [glamor](https://github.com/threepointone/glamor) to provide a great buil
```jsx
import React from 'react'
import { style } from 'next/css'
import style from 'next/css'
export default () => (
<div className={style}>
......
import React from 'react'
import { style } from 'next/css'
import style from 'next/css'
export default () => (
<div className={styles}>
......
import React from 'react'
import { style } from 'next/css'
import style from 'next/css'
export default ({ children }) => (
<p className={styles}>{children}</p>
......
import React from 'react'
import { style } from 'next/css'
import style from 'next/css'
export default ({ title, children }) => (
<div className={mainStyle}>
......
import React from 'react'
import P from '../components/paragraph'
import Post from '../components/post'
import { style } from 'next/css'
import style from 'next/css'
export default () => (
<div className={styles.main}>
......
import React from 'react'
import stripAnsi from 'strip-ansi'
import Head from 'next/head'
import { style } from 'next/css'
import style from 'next/css'
export default class ErrorDebug extends React.Component {
static getInitialProps ({ err }) {
......
import React from 'react'
import { style, merge } from 'next/css'
import style, { merge } from 'next/css'
export default class Error extends React.Component {
static getInitialProps ({ res, xhr }) {
......
import React from 'react'
import { style } from 'next/css'
import style from 'next/css'
export default () => <div className={styles}>This is red</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册