diff --git a/CHANGELOG.md b/CHANGELOG.md index 4195626607..2b396e4015 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Adding `behaviors` section to the menu, under the components @kolaps33 ([#119](https://github.com/stardust-ui/react/pull/119)) - Add `avatar` prop to `Chat.Message` subcomponent @Bugaa92 ([#159](https://github.com/stardust-ui/react/pull/159)) - add `iconOnly` prop to `Button` @mnajdova ([#182](https://github.com/stardust-ui/react/pull/182)) +- Add Label `image` and `imagePosition`, removed `onIconClick` prop @mnajdova ([#55](https://github.com/stardust-ui/react/pull/55/)) ## [v0.5.0](https://github.com/stardust-ui/react/tree/v0.5.0) (2018-08-30) diff --git a/docs/src/examples/components/Label/Types/LabelExample.shorthand.tsx b/docs/src/examples/components/Label/Content/LabelExample.shorthand.tsx similarity index 100% rename from docs/src/examples/components/Label/Types/LabelExample.shorthand.tsx rename to docs/src/examples/components/Label/Content/LabelExample.shorthand.tsx diff --git a/docs/src/examples/components/Label/Types/LabelExample.tsx b/docs/src/examples/components/Label/Content/LabelExample.tsx similarity index 100% rename from docs/src/examples/components/Label/Types/LabelExample.tsx rename to docs/src/examples/components/Label/Content/LabelExample.tsx diff --git a/docs/src/examples/components/Label/Variations/LabelExampleOnIconClick.shorthand.tsx b/docs/src/examples/components/Label/Content/LabelExampleContentCustomization.shorthand.tsx similarity index 51% rename from docs/src/examples/components/Label/Variations/LabelExampleOnIconClick.shorthand.tsx rename to docs/src/examples/components/Label/Content/LabelExampleContentCustomization.shorthand.tsx index d2292f0b65..a818f06a31 100644 --- a/docs/src/examples/components/Label/Variations/LabelExampleOnIconClick.shorthand.tsx +++ b/docs/src/examples/components/Label/Content/LabelExampleContentCustomization.shorthand.tsx @@ -1,7 +1,7 @@ import React from 'react' import { Label } from '@stardust-ui/react' -class LabelExampleOnIconClickShorthand extends React.Component { +class LabelExampleContentCustomizationShorthand extends React.Component { state = { hidden: false } hide = () => { @@ -16,14 +16,19 @@ class LabelExampleOnIconClickShorthand extends React.Component { return (