diff --git a/Parts/Button.js b/Parts/Button.js index 14b101d..8562218 100644 --- a/Parts/Button.js +++ b/Parts/Button.js @@ -22,7 +22,6 @@ function ButtonBase(props) { color = "bg-accent5 hover:bg-accent5-dark" break; default: - color = "" break; } return ( diff --git a/Parts/Input.js b/Parts/Input.js index 37b936a..8eaf093 100644 --- a/Parts/Input.js +++ b/Parts/Input.js @@ -1,10 +1,10 @@ import React from 'react' -function Input(props) { +export default function Input(props) { return ( -
+
{props.title != null ? ( -
) } -function TextArea(props) { +export function TextArea({label, title, name, id, children, ...props}) { return ( -
-