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 { mount } from '@cypress/react'; | |
import '~/main.css'; | |
import { Space } from './Space'; | |
it('Should have defined height in a column', () => { | |
mount( | |
<div className="flex flex-col"> | |
<Space units={2} data-test-id="col" /> | |
</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 { CSSProperties, useEffect, useRef, useState } from 'react'; | |
import cx from 'classnames'; | |
export type SpaceBrops = { | |
className?: string; | |
styles?: CSSProperties; | |
'data-test-id'?: string; | |
} & ( | |
| { | |
/** |
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
body { | |
padding: 24px; | |
display: flex; | |
justify-content: center; | |
} |
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 p5 from 'p5'; | |
import 'p5/lib/addons/p5.sound'; | |
const sketch = p => { | |
let canvas; | |
let scene1; | |
let scene2; | |
p.setup = () => { | |
p.createCanvas(p.windowWidth, p.windowHeight); |
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
[ | |
{ | |
"females": 392987, | |
"country": "Italy", | |
"age": 28, | |
"males": 362615, | |
"year": 1950, | |
"total": 755602 | |
}, | |
{ |
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
{ | |
"@context":"http://schema.org", | |
"@id":"http://data.wordlift.io/wl0116/entity/linked_data", | |
"@type":"CreativeWork", | |
"name":"Linked data", | |
"description":"Back in 2006 Tim Berners-Lee described linked data as follows: The Semantic Web isn't just about putting data on the web. It is about making links, so that a person or machine can explore the web of data. With linked data, when you have some of it, you can find other, related, data. In computing linked data […]", | |
"image":[ | |
"https://wordlift.io/wp-content/uploads/2016/10/LOD_Cloud_2014.svg_.png" | |
], | |
"sameAs":[ |