import React from 'react' import { useStoreContext } from '../..' import { ButtonInput } from '../../types' import { Row } from '../UI' import { StyledButton } from './StyledButton' type ButtonProps = { label: string } & Omit export function Button({ onClick, settings, label }: ButtonProps) { const store = useStoreContext() return ( onClick(store.get)}> {label} ) }