Add channel joining UI, closes #37

This commit is contained in:
Ken-Håvard Lieng 2019-01-23 07:34:39 +01:00
parent f25594e962
commit 24b26aa85f
20 changed files with 1131 additions and 177 deletions

View file

@ -1,7 +1,12 @@
import React from 'react';
import cn from 'classnames';
const Button = ({ children, category, ...props }) => (
<button className={`button-${category}`} type="button" {...props}>
const Button = ({ children, category, className, ...props }) => (
<button
className={cn(`button-${category}`, className)}
type="button"
{...props}
>
{children}
</button>
);