-
Notifications
You must be signed in to change notification settings - Fork 29
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
Feat/create theme preview section #222
Feat/create theme preview section #222
Conversation
} | ||
|
||
const PreviewLayout = ({breadCrumbsItems, children, styles, id}: PreviewLayoutProps) => { | ||
const [theme, setTheme] = useState<'light' | 'dark'>('dark'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
может быть, тут стоит использовать тип ThemeType
из uikit?
upd: возможно, даже, Theme
import './PreviewTab.scss'; | ||
import {TablePreview} from './TablePreview/TablePreview'; | ||
|
||
export const b = block('themes-preview'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
возможно, стоит назвать блок themes-preview-layout
поскольку далее по коду везде использование имени блока начинается со слова layout
: b('layout...
. мне кажется, так будет больше подходить под БЭМ?
6b2e79e
to
7c76fac
Compare
* feat: add theme export to Preview tab * feat: add table and form preview * feat: add card preview component * feat: add dashboard preview * fix: loader color * fix issues * fix typos
* feat: add theme export to Preview tab * feat: add table and form preview * feat: add card preview component * feat: add dashboard preview * fix: loader color * fix issues * fix typos
No description provided.