File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
import * as ToggleGroup from '@radix-ui/react-toggle-group' ;
2
- import { Tooltip } from '../tooltip' ;
3
- import { cn } from '../../utils' ;
4
2
import { motion } from 'framer-motion' ;
5
- import { IconMoon } from '../icons/icon-moon ' ;
3
+ import { cn } from '../../utils ' ;
6
4
import { tabTransition } from '../../utils/constants' ;
5
+ import { IconMoon } from '../icons/icon-moon' ;
7
6
import { IconSun } from '../icons/icon-sun' ;
7
+ import { Tooltip } from '../tooltip' ;
8
8
9
9
interface ThemeToggleGroupProps {
10
10
active : 'light' | 'dark' ;
11
11
onChange : ( theme : 'light' | 'dark' ) => unknown ;
12
12
}
13
13
14
- export const ThemeToggleGroup = ( { active, onChange } : ThemeToggleGroupProps ) => {
14
+ export const ThemeToggleGroup = ( {
15
+ active,
16
+ onChange,
17
+ } : ThemeToggleGroupProps ) => {
15
18
return (
16
19
< ToggleGroup . Root
17
20
aria-label = "Color Scheme"
Original file line number Diff line number Diff line change 1
1
// A JavaScript email component with ES6 export default
2
2
import { Button , Html } from '@react-email/components' ;
3
- import React from 'react' ;
4
3
5
4
function Email ( ) {
6
5
return (
You can’t perform that action at this time.
0 commit comments