Skip to content

Instantly share code, notes, and snippets.

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)
));
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) => {
@swedesjs
swedesjs / index.js
Last active June 17, 2021 20:08
Class Swearing-Detector
const test = (text) =>
preg_match_all(
new RegExp(
`