// contour isoline cartography shader
export const frag = `
#extension GL_OES_standard_derivatives : enable
#ifdef GL_ES
precision highp float;
#endif
varying vec2 var_vertTexCoord;
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 FocusDemo = () => { | |
| // with callback | |
| const [inputRef, setInputFocus] = useFocus<HTMLInputElement>(); | |
| // on component mount | |
| const ref = useAutoFocus<HTMLInputElement>(); | |
| return ( | |
| <> | |
| <button onClick={setInputFocus} > |
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
| name: Tests | |
| on: | |
| pull_request: | |
| jobs: | |
| Unit: | |
| runs-on: ubuntu-latest | |
| strategy: |
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
| #!/bin/bash | |
| echo "VERCEL_GIT_COMMIT_MESSAGE: $VERCEL_GIT_COMMIT_MESSAGE" | |
| if [[ "$VERCEL_GIT_COMMIT_MESSAGE" != *"[skip build]"* ]] ; then | |
| # Proceed with the build | |
| exit 1; | |
| else | |
| # Don't proceed with the build |
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
| // fallback for a partially supported hook | |
| // source https://github.com/tailwindlabs/headlessui/blob/main/packages/%40headlessui-react/src/hooks/use-id.ts | |
| import React from 'react' | |
| import { useIsoMorphicEffect } from './use-iso-morphic-effect' | |
| import { useServerHandoffComplete } from './use-server-handoff-complete' | |
| import { env } from '../utils/env' | |
| export let useId = | |
| // Prefer React's `useId` if it's available. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder