File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,6 @@ ensuring the details live up to expectations.
6666 ` ${componentStyles} ` which allows an implementer to leverage the
6767 [ ` theme ` ] ( https://zendeskgarden.github.io/react-components/theming/ )
6868 "components" object to override specific component styles.
69- - The view component ` defaultProps ` must contain ` theme: DEFAULT_THEME ` for
70- cases when the component might be used outside the context of a
71- ` <ThemeProvider> ` .
7269- With the exception of embedded icons, view components do not return JSX.
7370
7471## Element components
Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ the standard rules for Garden element component documentation:
4141 API] ( https://garden.zendesk.com/components/select#dropdown ) for an
4242 external linking example
4343 - Only add prop JSDoc to [ TypeScript prop interfaces] ( typescript.md )
44- - Refrain from documenting React ` defaultProps `
4544 - Refrain from documenting styled components props
4645 - Use ` @ignore ` to prevent a prop from being added to generated documentation.
4746 Use this tag sparingly to hide internal-only APIs.
You can’t perform that action at this time.
0 commit comments