Skip to content
Snippets Groups Projects
Commit c6871cd0 authored by Alf Eaton's avatar Alf Eaton
Browse files

Show Confirm block as a modal

parent ddaf368f
No related branches found
No related tags found
No related merge requests found
import React from 'react' import React from 'react'
const Button = ({ children, type = 'button', disabled}) => ( const Button = ({ children, type = 'button', disabled, onClick}) => (
<button <button
type={type} type={type}
disabled={disabled}>{children}</button> disabled={disabled}
onClick={onClick}>{children}</button>
) )
export default Button export default Button
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment