Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(ui-text-area,ui-tree-browser): functional examples are added to TextArea, TreeBrowser #1670

Conversation

Kadirsaglm
Copy link
Contributor

No description provided.

@Kadirsaglm Kadirsaglm force-pushed the write_functional_examples_for_textarea_treebrowser branch from 4e23cd5 to 877ff5e Compare September 18, 2024 09:08
Comment on lines 178 to 183
- ```js
const Example = () => {
const [size, setSize] = useState('medium')
const sizes = ['small', 'medium', 'large']

const handleSizeSelect = (e, size) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this example is duplicated, there should be only two there, the class and the function based.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the duplicate

@Kadirsaglm Kadirsaglm force-pushed the write_functional_examples_for_textarea_treebrowser branch from 877ff5e to bec3a48 Compare September 29, 2024 12:13
@Kadirsaglm Kadirsaglm force-pushed the write_functional_examples_for_textarea_treebrowser branch from bec3a48 to 4520c13 Compare September 29, 2024 12:15
@ToMESSKa ToMESSKa merged commit 36b6d00 into instructure:master Oct 4, 2024
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants