Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
### Documentation
- Add `prettier` support throughout the docs @levithomason ([#568](https://github.com/stardust-ui/react/pull/568))
- Display available behaviors for component @jurokapsiar ([#510](https://github.com/stardust-ui/react/pull/510))
- Fix `createComponent()` instructions for `className` @levithomason ([#599](https://github.com/stardust-ui/react/pull/599))

<!--------------------------------[ v0.14.0 ]------------------------------- -->
## [v0.14.0](https://github.com/stardust-ui/react/tree/v0.14.0) (2018-12-05)
Expand Down
2 changes: 1 addition & 1 deletion docs/src/prototypes/chatMessageWithPopover/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const ContextMenu = createComponent<ContextMenuProps>({
displayName: 'ContextMenu',
render: ({ stardust, className, children }) => {
const { classes } = stardust
return <div className={cx(className, classes.root)}>{children}</div>
return <div className={classes.root}>{children}</div>
},
})

Expand Down
7 changes: 3 additions & 4 deletions docs/src/views/IntegrateCustomComponents.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react'
import cx from 'classnames'
import { NavLink } from 'react-router-dom'
import { Header } from 'semantic-ui-react'
import {
Expand All @@ -24,9 +23,9 @@ interface StyledButtonProps {

const StyledButton: React.SFC<StyledButtonProps> = createComponent<StyledButtonProps>({
displayName: 'StyledButton',
render({ stardust, className, children }) {
render({ stardust, children }) {
const { classes } = stardust
return <button className={cx(className, classes.root)}>{children}</button>
return <button className={classes.root}>{children}</button>
},
})

Expand All @@ -51,7 +50,7 @@ export default () => (
displayName: 'StyledButton',
render: ({stardust, className, children}) => {
const { classes } = stardust
return <button className={cx(className, classes.root)}>{children}</button>
return <button className={classes.root}>{children}</button>
}
})
`}
Expand Down