Skip to content

Commit

Permalink
Feat: Expose customization options for Select/Checkbox prompts help tips
Browse files Browse the repository at this point in the history
Fix #963
Fix #1217
  • Loading branch information
SBoudrias committed Apr 12, 2024
1 parent 269fbef commit ff30dd3
Show file tree
Hide file tree
Showing 9 changed files with 443 additions and 113 deletions.
7 changes: 7 additions & 0 deletions packages/checkbox/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,16 @@ type Theme = {
unchecked: string;
cursor: string;
};
helpMode: 'always' | 'never' | 'auto';
};
```

### `theme.helpMode`

- `auto` (default): Hide the help tips after an interaction occurs. The scroll tip will hide after any interactions, the selection tip will hide as soon as a first selection is done.
- `always`: The help tips will always show and never hide.
- `never`: The help tips will never show.

# License

Copyright (c) 2023 Simon Boudrias (twitter: [@vaxilart](https://twitter.com/Vaxilart))<br/>
Expand Down

0 comments on commit ff30dd3

Please sign in to comment.