This file contains 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
-- Add the following in your custom/configs/overrides.lua file. You can configure copilot to meet your needs here. | |
M.copilot = { | |
-- Possible configurable fields can be found on: | |
-- https://github.com/zbirenbaum/copilot.lua#setup-and-configuration | |
suggestion = { | |
enable = false, | |
}, | |
panel = { | |
enable = false, |
This file contains 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 * as React from 'react' | |
type DragScrollProvisions = { | |
onMouseDown: React.MouseEventHandler<HTMLElement>, | |
ref: React.Ref<HTMLElement>, | |
} | |
export type Props = { | |
children: (provisions: DragScrollProvisions) => React.ReactNode, | |
} |