import { signUpState } from './atoms' ; import { SubmitButtonBase } from '@/presentation/components' ; import { useRecoilValue } from 'recoil' ; import React from 'react' ; type Props = { text : string ; } ; const SubmitButton = ( { text } ) => { const state = useRecoilValue ( signUpState ) ; return ( < SubmitButtonBase text = { text } state = { state } / > ) ; } ; export default SubmitButton ;