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
version: 1.2.8 | |
cache: true | |
registration: | |
socialLogins: | |
- "discord" | |
- "facebook" | |
- "github" | |
- "google" | |
- "openid" |
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 type React from 'react'; | |
type ComponentPropsAs< | |
C extends React.ElementType<any>, | |
T extends React.ComponentPropsWithoutRef<C>['as'], | |
> = Omit< | |
Extract<React.ComponentPropsWithoutRef<C>, { as: T }>, | |
'as' | 'asChild' | |
>; |
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 { ElementType, FC, ReactNode } from 'react'; | |
import { cn } from '@/lib/utils'; | |
import React from 'react'; | |
import { ComponentPropsWithout, RemovedProps } from './helpers'; | |
import { Slot } from '@radix-ui/react-slot'; | |
export interface LayoutProps { | |
className?: string; | |
children?: ReactNode; | |
} |
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
// Sample custom iterator. | |
// By perfectly.insane (http://www.dreamincode.net/forums/index.php?showuser=76558) | |
// From: http://www.dreamincode.net/forums/index.php?showtopic=58468 | |
#include <iostream> | |
#include <vector> | |
#include <algorithm> | |
#include <iterator> | |
#include <cassert> |