This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import jsonPlugin from '@rollup/plugin-json'; | |
import { builtinModules } from 'module'; | |
import { join as pathJoin } from 'path'; | |
import { tmpdir } from 'os'; | |
import typescriptPlugin from 'rollup-plugin-typescript2'; | |
const coreModules = builtinModules.filter(name => ( | |
!/(^_|\/)/.test(name) | |
)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Icon28UserCircleOutline } from "@vkontakte/icons" | |
import { Epic, Group, Panel, PanelHeader, PanelHeaderBack, Placeholder, Tabbar, TabbarItem, View } from "@vkontakte/vkui" | |
import { MouseEvent, useState } from "react" | |
type activeStory = "profile" | |
export const Navigetion = () => { | |
const [activeStory, setActiveStory] = useState<activeStory>("profile") | |
const onStoryChange = (e: MouseEvent) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const test = (text) => | |
preg_match_all( | |
new RegExp( | |
` |