Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(Visibility|Ref): deprecate components
- Loading branch information
1 parent
e500234
commit 0397115
Showing
4 changed files
with
48 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
import React from 'react' | ||
import { Message, Icon } from 'semantic-ui-react' | ||
|
||
import Types from './Types' | ||
import Settings from './Settings' | ||
|
||
const VisibilityExamples = () => ( | ||
<div> | ||
<> | ||
<Message icon warning> | ||
<Icon name='warning sign' /> | ||
|
||
<Message.Content> | ||
<Message.Header>Deprecation notice</Message.Header> | ||
<p> | ||
<code>Visibility</code> component is deprecated and will be removed in | ||
the next major release. Please follow our{' '} | ||
<a href='https://github.com/Semantic-Org/Semantic-UI-React/pull/XXXX'> | ||
upgrade guide | ||
</a>{' '} | ||
to avoid breaks during upgrade to v3. | ||
</p> | ||
</Message.Content> | ||
</Message> | ||
|
||
<Types /> | ||
<Settings /> | ||
</div> | ||
</> | ||
) | ||
|
||
export default VisibilityExamples |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters