Skip to content

Commit

Permalink
docs: react compound
Browse files Browse the repository at this point in the history
  • Loading branch information
friedrith committed Oct 3, 2023
1 parent 0719b3c commit 5910915
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion slides/slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ export default function Example() {
layout: two-cols
---

# React SubComponent Pattern
# React Compound Pattern

- make the coupling between `Input` and `ClearButton` visible for all the developers

Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as BasicComposition from './03_BasicComposition'
import RenderProps from './04_RenderProps'
import CloneElement from './05_CloneElement'
import CompositionContext from './06_CompositionContext'
import SubComponentPattern from './07_SubComponent'
import CompoundPattern from './07_CompoundPattern'
import * as MoreFeatures from './08_MoreFeatures'

import Navigation from './utils/Navigation'
Expand Down Expand Up @@ -46,8 +46,8 @@ const routes = [
component: CompositionContext,
},
{
title: 'SubComponent Pattern',
component: SubComponentPattern,
title: 'Compound Pattern',
component: CompoundPattern,
},
{
title: 'More Features',
Expand Down

0 comments on commit 5910915

Please sign in to comment.