Skip to content

Instantly share code, notes, and snippets.

View georgeperry1's full-sized avatar

George Perry georgeperry1

View GitHub Profile
// VSCODE SETTINGS
import React, { Component } from 'react';
import WaveSurfer from 'wavesurfer.js';
import { WaveformContianer, Wave, PlayButton } from './Waveform.styled';
class Waveform extends Component {
state = {
playing: false,
};
import React, { Component } from 'react';
import WaveSurfer from 'wavesurfer.js';
import { WaveformContianer, Wave, PlayButton } from './Waveform.styled';
class Waveform extends Component {
componentDidMount() {
const track = document.querySelector('#track');
this.waveform = WaveSurfer.create({
import React, { Component } from 'react';
import { WaveformContianer, Wave, PlayButton } from './Waveform.styled';
class Waveform extends Component {
render() {
return (
<WaveformContianer>
<PlayButton> // This is a <button />
Play
import styled from 'styled-components';
export const WaveformContianer = styled.div`
display: flex;
flex-direction: row;
align-items: center;
height: 80px;
width: 100%;
background: #fff;
padding: 0px 0px 5px 10px;
@georgeperry1
georgeperry1 / base-waveform.js
Created February 2, 2020 13:56
Base Waveform Components
import React, { Component } from 'react';
class Waveform extends Component {
render() {
return (
<div />
);
}
};
name: Production Build
on:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
name: Production Build
on:
pull_request:
push:
branches:
- master
jobs:
build:
name: Production Build
on:
pull_request:
push:
branches:
- master
jobs:
build:
name: Production Build
on:
pull_request:
push:
branches:
- master
jobs:
build: