Skip to content

Commit

Permalink
add switch to website/pages/init
Browse files Browse the repository at this point in the history
add switch gif
  • Loading branch information
lp9052 authored and maartenbreddels committed Jul 20, 2023
1 parent 605a64c commit a471cbd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions solara/components/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ def Switch(
classes: List[str] = [],
style: Optional[Union[str, Dict[str, str]]] = None,
):
"""A switch component provides users the ability to choose between two distinct values. But aesthetically different
from a checkbox.
"""A switch component provides users the ability to choose between two distinct values. But aesthetically different from a checkbox.
Basic examples
Expand Down
Binary file added solara/website/public/api/switch.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a471cbd

Please sign in to comment.