Style part profile editable state

This commit is contained in:
Kurt Hutten
2020-11-07 19:45:37 +11:00
parent 1bdc836b66
commit 0784cdbde2
15 changed files with 225 additions and 108 deletions

View File

@@ -0,0 +1,12 @@
import MainLayout from 'src/layouts/MainLayout'
import Part2Cell from 'src/components/Part2Cell'
const EditPart2Page = ({userName, partTitle}) => {
return (
<MainLayout>
<Part2Cell userName={userName} partTitle={partTitle} isEditable/>
</MainLayout>
)
}
export default EditPart2Page

View File

@@ -0,0 +1,7 @@
import EditPart2Page from './EditPart2Page'
export const generated = () => {
return <EditPart2Page />
}
export default { title: 'Pages/EditPart2Page' }

View File

@@ -0,0 +1,11 @@
import { render } from '@redwoodjs/testing'
import EditPart2Page from './EditPart2Page'
describe('EditPart2Page', () => {
it('renders successfully', () => {
expect(() => {
render(<EditPart2Page />)
}).not.toThrow()
})
})