xxtereshko-snippets
cl
console.log("$1 =>", $1)
rf
type T$1Props = {}
export const $1 = ({}: T$1Props) => {
return $0
}
rfe
type T$1Props = {}
const $1 = ({}: T$1Props) => {
return $0
}
export default $1
us
const [$1, set$1] = useState($2)
ue
useEffect(() => {
$0
}, [$1])
uer
useEffect(() => {
$2
return () => {
$3
}
}, [$1])
ule
useLayoutEffect(() => {
$2
}, [$1])
uler
useLayoutEffect(() => {
$2
return () => {
$3
}
}, [$1])
ha
const $1 = ($2) => {
$0
}
dob
const { $2 } = $1
dar
const [$2] = $1
sti
setInterval(() => {
$2
}, $1)
sto
setTimeout(() => {
$2
}, $1)
stb
import { ComponentMeta, ComponentStory } from '@storybook/react-native'
const Meta: ComponentMeta<typeof ${1}> = {
title: '2;1',
component: ${}
args: {},
}
export default Meta
type T${1:}Story = ComponentStory<typeof ${1:}>
export const Default: T${1:}Story = args => <${1:} {...args} />
}
Enjoy! ❤️