mattiaerre / oc-hub

This repository has been created as a central hub for all the OpenComponents built by Mattia Richetto.
10 stars 2 forks source link

oc-my-next-run #4

Closed mattiaerre closed 7 years ago

mattiaerre commented 7 years ago

Description

screen shot 2017-03-18 at 22 31 30
mattiaerre commented 7 years ago

// cc @matteofigus @nickbalestra

mattiaerre commented 7 years ago

w/ SSR & styled-components

// cc @mxstbr

matteofigus commented 7 years ago

Yes! Love styled components, that's a very good spike 👍

mattiaerre commented 7 years ago

next, I am going to try also jest-styled-components

// cc @MicheleBertoli

mattiaerre commented 7 years ago

soooo nice! me ❤️ this 😊

// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Title 1`] = `

.kbYEP {
  font-size: 1.5em;
  text-align: center;
}

<h1
  className="sc-bdVaJa kbYEP"
>
  Hello from oc-my-next-run Title
</h1>
`;

exports[`Wrapper 1`] = `

.bOYEsa {
  padding: 2em;
  background: floralwhite;
  font-family: monospace;
  border: 1px solid grey;
}

<section
  className="sc-bwzfXH bOYEsa"
>
  Hello from oc-my-next-run Wrapper
</section>
`;

// cc @matteofigus @mxstbr @MicheleBertoli

MicheleBertoli commented 7 years ago

Thanks for trying it with SC v2, I'm happy you like it :) I can see two extra empty lines at the top of the snapshot, I'll investigate and fix it.

mattiaerre commented 7 years ago

@MicheleBertoli perfectionist 😅

mattiaerre commented 7 years ago

what do you think about this @scottlepich ?