Skip to content

Conversation

@shinyu0430
Copy link
Collaborator

screenshot for pop-up modal
  • When the user clicks "Convert," show a pop-up hint modal displaying the current delimiter, the new delimiter, and the amount of the delimiter to be converted.

@shinyu0430
Copy link
Collaborator Author

@WendellLiu This PR is ready. Please let me know if there are any changes needed.

Base automatically changed from feat/preview-area-new-ui to main November 18, 2024 12:58
import PropTypes from 'prop-types';
import cn from 'classnames';

const ToggleButton = ({ isActive = false, onClick = () => {}, children = '', label = '' }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe you can just leave it with no default value for children. Empty string should be okay but let's make it close to React tradition.

@shinyu0430 shinyu0430 force-pushed the feat/add-convert-modal branch from d8cc1a7 to 2976a16 Compare December 26, 2024 03:33
@shinyu0430 shinyu0430 merged commit 47af995 into main Dec 26, 2024
@shinyu0430 shinyu0430 deleted the feat/add-convert-modal branch December 26, 2024 03:34
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