repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/common/source/types/User.ts | interface User {
username: string;
_id: string;
}
export default User;
|
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/reports/reportsController.ts | <filename>packages/server/src/reports/reportsController.ts
import { Request, Response, NextFunction } from 'express';
import { validationResult } from 'express-validator/check';
import isEmpty from '../utilities/isEmpty';
import passErrorToNext from '../utilities/passErrorToNext';
import { ErrorREST, Errors } from '../... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/utilities/comparePasswords.ts | <filename>packages/server/src/utilities/comparePasswords.ts
import bcrypt from 'bcryptjs';
import { ErrorREST, Errors } from './ErrorREST';
import ValidationError from '@rddt/common/types/ValidationError';
const comparePasswords = async (
password: string,
userPassword: string,
): Promise<void> => {
try {
con... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/tests/utilities/passErrorToNext.test.ts | <filename>packages/server/src/tests/utilities/passErrorToNext.test.ts
import passErrorToNext from '../../utilities/passErrorToNext';
import { ErrorREST, Errors } from '../../utilities/ErrorREST';
describe('passErrorToNext', (): void => {
it(`should call next once`, (): void => {
const nextMock = jest.fn();
co... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/web/src/types/User.ts | export default interface User {
avatar: string;
username: string;
email: string;
userId: string;
savedPosts: string[];
savedComments: string[];
upvotedPosts: string[];
downvotedPosts: string[];
upvotedComments: string[];
downvotedComments: string[];
communities: string[];
}
|
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/utilities/isEmpty.ts | import { ErrorREST, Errors } from './ErrorREST';
const isEmpty = (validationResult: any): void => {
const errors = validationResult;
if (!errors.isEmpty()) {
const errorData = errors.array();
const { status, message } = Errors.BadRequest;
const error = new ErrorREST(status, message, errorData);
thro... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/utilities/deleteFile.ts | <gh_stars>0
import fs from 'fs';
import { RESTError, errors } from '@utilities/RESTError';
import getFilePath from '@utilities/getFilePath';
const deleteFile = async (filePath: string): Promise<void> => {
try {
await fs.promises.unlink(getFilePath(filePath));
} catch (err) {
const { status, message } = err... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/rules/Rule.ts | import Rule from '../types/Rule';
import mongoose, { Schema } from 'mongoose';
const RuleSchema: Schema = new Schema({
name: { type: String, required: true, min: 1, max: 100 },
description: { type: String, required: true, min: 1, max: 100 },
community: {
type: Schema.Types.ObjectId,
ref: 'Community',
... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/utilities/ErrorREST.ts | const Errors = {
BadRequest: {
status: 400,
message: 'Request has wrong format.',
},
Unauthorized: {
status: 401,
message: 'Authentication credentials not valid.',
},
Forbidden: {
status: 403,
message: "You're missing permission to execute this request.",
},
NotFound: {
status:... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/users/usersController.ts | <gh_stars>0
import { Request, Response, NextFunction } from 'express';
import { validationResult } from 'express-validator/check';
import isEmpty from '../utilities/isEmpty';
import sendConfirmationEmail from '../utilities/sendConfirmationEmail';
import includesObjectId from '../utilities/includesId';
import passErrorT... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/comments/commentsController.ts | import { Request, Response, NextFunction } from 'express';
import { validationResult } from 'express-validator/check';
import isEmpty from '../utilities/isEmpty';
import passErrorToNext from '../utilities/passErrorToNext';
import { ErrorREST, Errors } from '../utilities/ErrorREST';
import {
createComment,
getCommen... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/web/src/types/AutoCompleteCommunity.ts | import Theme from '@rddt/common/types/Theme';
interface AutoCompleteCommunityData {
name: string;
subscribers: number;
score: number;
theme: Theme;
_id: string;
}
interface AutoCompleteCommunityLinks {
self: string;
}
export default interface AutoCompleteCommunity {
data: AutoCompleteCommunityData;
lin... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/web/src/components/Community/CommunityPage/CommunityDetails/CommunityDetails.tsx | <reponame>kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern
import React, {
FC,
CSSProperties,
useContext,
useState,
useEffect,
} from 'react';
import Community from '@rddt/common/types/Community';
import PopulatedPost from '@rddt/common/types/PopulatedPost';
import { Card, Typography, Avatar, Button, Icon } ... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/services/ruleServices.ts | <gh_stars>0
import Rule from '../rules/Rule';
import RuleType from '../types/Rule';
import { ErrorREST, Errors } from '../utilities/ErrorREST';
const createRule = async (
name: string,
description: string,
scope: string,
communityId: string,
userId: string,
): Promise<RuleType> => {
try {
const rule = n... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/types/PopulatedPostType.ts | import PopulatedPost from '@rddt/common/types/PopulatedPost';
import { Document } from 'mongoose';
type PopulatedPostType = PopulatedPost & Document;
export default PopulatedPostType;
|
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/web/src/stores/AuthStore/defaultAuthState.ts | <filename>packages/web/src/stores/AuthStore/defaultAuthState.ts<gh_stars>0
import AuthState from '../../types/AuthState';
const defaultAuthState: AuthState = {
isAuth: false,
token: '',
expiryDate: '',
user: {
avatar: '',
userId: '',
username: '',
email: '',
savedPosts: [],
savedComments... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/web/src/components/Post/PostForm/PostFormPage.tsx | <filename>packages/web/src/components/Post/PostForm/PostFormPage.tsx<gh_stars>0
import React, { FC, useContext, useState, useEffect } from 'react';
import { RouteComponentProps } from 'react-router-dom';
import axios from 'axios';
import PostFormValues from 'types/PostFormValues';
import PopulatedPost from '@rddt/commo... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/web/src/stores/ThemeStore/ThemeStore.ts | import { createContext } from 'react';
import { observable, action } from 'mobx';
import { persist } from 'mobx-persist';
class ThemeStore {
@persist @observable public theme: 'light' | 'dark' = 'light';
@action public toggleTheme(): void {
console.log(this.theme);
this.theme = this.theme === 'light' ? 'da... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/types/Comment.ts | import Comment from '@rddt/common/source/types/Comment';
import { Document } from 'mongoose';
interface ExtendedComment extends Comment {
user: string;
}
type CommentType = ExtendedComment & Document;
export default CommentType;
|
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/common/source/types/PopulatedComment.ts | import Comment from './Comment';
import User from './User';
interface PopulatedComment extends Comment {
user: User;
}
export default PopulatedComment;
|
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/common/source/types/Comment.ts | <filename>packages/common/source/types/Comment.ts
interface Comment {
hidden: boolean;
text: string;
date: string;
comments: number;
upvotes: number;
downvotes: number;
source: string;
onModel: string;
_id: string;
}
export default Comment;
|
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/utilities/verifyToken.ts | import jwt from 'jsonwebtoken';
import { ErrorREST, Errors } from './ErrorREST';
const verifyToken = (token: string) => {
const secret: any = process.env.SECRET;
const { userId }: any = jwt.verify(
token,
secret,
(err: any, decoded: any) => {
if (err) {
const { status, message } = Errors.U... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/web/src/stores/AuthStore/authenticatedAuthState.ts | import AuthState from '../../types/AuthState';
const authenticatedAuthState: AuthState = {
isAuth: true,
token: 'testToken',
expiryDate: 'date',
user: {
avatar: 'avatar',
userId: '10',
username: 'testUser',
email: '<EMAIL>',
savedPosts: [],
savedComments: [],
upvotedPosts: [],
do... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/types/Rule.ts | <gh_stars>0
import Rule from '@rddt/common/types/Rule';
import mongoose, { Schema, Document } from 'mongoose';
type RuleType = Rule & Document;
export default RuleType;
|
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/reports/tests/reportRoutes.test.ts | import Community from '../../communities/Community';
import Report from '../Report';
import User from '../../users/User';
import request from 'supertest';
import mongoose from 'mongoose';
import { mongoURI } from '../../config/db';
import app from '../../app';
import jwt from 'jsonwebtoken';
mongoose.connect(mongoURI, ... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/web/src/components/Post/Post/SharePopover.tsx | <reponame>kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern
import React, { FC } from 'react';
import { Popover, Icon } from 'antd';
import openNotification from 'utilities/openNotification';
interface SharePopoverProps {
title: string;
postId: string;
}
const SharePopover: FC<SharePopoverProps> = ({ title, postId ... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/web/src/components/Navbar/SearchBar/SearchBarOption/SearchBarOption.tsx | import React from 'react';
import AutoCompleteCommunity from '../../../../types/AutoCompleteCommunity';
import { Avatar } from 'antd';
import { Typography } from 'antd';
import { Link } from 'react-router-dom';
const { Text } = Typography;
interface SearchBarOptionProps {
community: AutoCompleteCommunity;
}
const Sea... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/tests/utilities/checkLimit.test.ts | <gh_stars>0
import checkLimit from '../../utilities/checkLimit';
describe('checkLimit', (): void => {
it("shouldn't throw an error", (): void => {
expect((): void => checkLimit(1)).not.toThrow();
expect((): void => checkLimit(50)).not.toThrow();
expect((): void => checkLimit(25)).not.toThrow();
});
it... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/web/src/types/AuthState.ts | <filename>packages/web/src/types/AuthState.ts
import User from './User';
export default interface AuthState {
isAuth: boolean;
token: string;
expiryDate: string;
user: User;
}
|
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/web/src/components/EmailConfirmationModal/EmailConfirmationModal.tsx | <gh_stars>0
import React, { FC } from 'react';
import Modal from '../Modal/Modal';
import { Typography, Button } from 'antd';
import { withRouter, RouteComponentProps } from 'react-router-dom';
import EmailConfirmation from './EmailConfirmation';
interface MatchParams {
token: string;
}
const EmailConfirmationModal: ... |
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/web/src/components/Loader.tsx | import React, { FC } from 'react';
import { Spin } from 'antd';
const Loader: FC = () => (
<div style={{ textAlign: 'center', padding: '4rem' }}>
<Spin size="large" />
</div>
);
export default Loader;
|
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/common/source/types/Theme.ts | import Colors from './Colors';
interface Theme {
icon: string;
colors: Colors;
}
export default Theme;
|
kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern | packages/server/src/tests/services/postServices.test.ts | import {
createPost,
getPostById,
getPosts,
getPostsByCommunityId,
getPostsByUserSubscriptions,
toggleHiddenPosts,
} from '../../services/postServices';
import Post from '../../posts/Post';
import { ErrorREST, Errors } from '../../utilities/ErrorREST';
import mongoose, { mongo } from 'mongoose';
import { mo... |
rsuite/rsuite-icons | src/icons/legacy/Wifi.tsx | <filename>src/icons/legacy/Wifi.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import WifiSvg from '@rsuite/icon-font/lib/legacy/Wifi';
const Wifi = createSvgIcon({
as: WifiSvg,
ariaLabel: 'wifi',
category: 'legacy',
displayName: 'Wifi'
});
export default Wi... |
rsuite/rsuite-icons | src/icons/legacy/Cny.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import CnySvg from '@rsuite/icon-font/lib/legacy/Cny';
const Cny = createSvgIcon({
as: CnySvg,
ariaLabel: 'cny',
category: 'legacy',
displayName: 'Cny'
});
export default Cny;
|
rsuite/rsuite-icons | src/icons/FolderMove.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import FolderMoveSvg from '@rsuite/icon-font/lib/file/FolderMove';
const FolderMove = createSvgIcon({
as: FolderMoveSvg,
ariaLabel: 'folder move',
category: 'file',
displayName: 'FolderMove'
});
export default FolderMo... |
rsuite/rsuite-icons | src/icons/legacy/CaretRight.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import CaretRightSvg from '@rsuite/icon-font/lib/legacy/CaretRight';
const CaretRight = createSvgIcon({
as: CaretRightSvg,
ariaLabel: 'caret right',
category: 'legacy',
displayName: 'CaretRight'
});
export default C... |
rsuite/rsuite-icons | src/icons/legacy/Gear2.tsx | <reponame>rsuite/rsuite-icons
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import Gear2Svg from '@rsuite/icon-font/lib/legacy/Gear2';
const Gear2 = createSvgIcon({
as: Gear2Svg,
ariaLabel: 'gear 2',
category: 'legacy',
displayName: 'Gear2'
});
export default G... |
rsuite/rsuite-icons | src/icons/legacy/Search.tsx | <filename>src/icons/legacy/Search.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import SearchSvg from '@rsuite/icon-font/lib/legacy/Search';
const Search = createSvgIcon({
as: SearchSvg,
ariaLabel: 'search',
category: 'legacy',
displayName: 'Search'
});
exp... |
rsuite/rsuite-icons | src/icons/PushMessage.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import PushMessageSvg from '@rsuite/icon-font/lib/application/PushMessage';
const PushMessage = createSvgIcon({
as: PushMessageSvg,
ariaLabel: 'push message',
category: 'application',
displayName: 'PushMessage'
});
exp... |
rsuite/rsuite-icons | src/icons/legacy/PlusSquareO.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import PlusSquareOSvg from '@rsuite/icon-font/lib/legacy/PlusSquareO';
const PlusSquareO = createSvgIcon({
as: PlusSquareOSvg,
ariaLabel: 'plus square o',
category: 'legacy',
displayName: 'PlusSquareO'
});
export de... |
rsuite/rsuite-icons | src/icons/FileDownload.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import FileDownloadSvg from '@rsuite/icon-font/lib/action/FileDownload';
const FileDownload = createSvgIcon({
as: FileDownloadSvg,
ariaLabel: 'file download',
category: 'action',
displayName: 'FileDownload'
});
export ... |
rsuite/rsuite-icons | src/icons/legacy/DotCircleO.tsx | <gh_stars>1-10
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import DotCircleOSvg from '@rsuite/icon-font/lib/legacy/DotCircleO';
const DotCircleO = createSvgIcon({
as: DotCircleOSvg,
ariaLabel: 'dot circle o',
category: 'legacy',
displayName: 'DotCircleO'
});
... |
rsuite/rsuite-icons | src/icons/legacy/FlagCheckered.tsx | <filename>src/icons/legacy/FlagCheckered.tsx<gh_stars>1-10
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import FlagCheckeredSvg from '@rsuite/icon-font/lib/legacy/FlagCheckered';
const FlagCheckered = createSvgIcon({
as: FlagCheckeredSvg,
ariaLabel: 'flag checkered... |
rsuite/rsuite-icons | src/icons/legacy/AngleDoubleUp.tsx | <reponame>rsuite/rsuite-icons
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import AngleDoubleUpSvg from '@rsuite/icon-font/lib/legacy/AngleDoubleUp';
const AngleDoubleUp = createSvgIcon({
as: AngleDoubleUpSvg,
ariaLabel: 'angle double up',
category: 'legacy',
d... |
rsuite/rsuite-icons | src/icons/legacy/Hashtag.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import HashtagSvg from '@rsuite/icon-font/lib/legacy/Hashtag';
const Hashtag = createSvgIcon({
as: HashtagSvg,
ariaLabel: 'hashtag',
category: 'legacy',
displayName: 'Hashtag'
});
export default Hashtag;
|
rsuite/rsuite-icons | src/icons/legacy/Houzz.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import HouzzSvg from '@rsuite/icon-font/lib/legacy/Houzz';
const Houzz = createSvgIcon({
as: HouzzSvg,
ariaLabel: 'houzz',
category: 'legacy',
displayName: 'Houzz'
});
export default Houzz;
|
rsuite/rsuite-icons | src/icons/legacy/Language.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import LanguageSvg from '@rsuite/icon-font/lib/legacy/Language';
const Language = createSvgIcon({
as: LanguageSvg,
ariaLabel: 'language',
category: 'legacy',
displayName: 'Language'
});
export default Language;
|
rsuite/rsuite-icons | src/icons/legacy/UserMd.tsx | <gh_stars>1-10
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import UserMdSvg from '@rsuite/icon-font/lib/legacy/UserMd';
const UserMd = createSvgIcon({
as: UserMdSvg,
ariaLabel: 'user md',
category: 'legacy',
displayName: 'UserMd'
});
export default UserMd;
|
rsuite/rsuite-icons | src/icons/legacy/Leanpub.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import LeanpubSvg from '@rsuite/icon-font/lib/legacy/Leanpub';
const Leanpub = createSvgIcon({
as: LeanpubSvg,
ariaLabel: 'leanpub',
category: 'legacy',
displayName: 'Leanpub'
});
export default Leanpub;
|
rsuite/rsuite-icons | src/icons/OperatePeople.tsx | <gh_stars>1-10
// Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import OperatePeopleSvg from '@rsuite/icon-font/lib/people/OperatePeople';
const OperatePeople = createSvgIcon({
as: OperatePeopleSvg,
ariaLabel: 'operate people',
category: 'people',
displayName: 'Operat... |
rsuite/rsuite-icons | src/icons/legacy/Medkit.tsx | <filename>src/icons/legacy/Medkit.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import MedkitSvg from '@rsuite/icon-font/lib/legacy/Medkit';
const Medkit = createSvgIcon({
as: MedkitSvg,
ariaLabel: 'medkit',
category: 'legacy',
displayName: 'Medkit'
});
exp... |
rsuite/rsuite-icons | src/icons/legacy/TagAuthorize.tsx | <reponame>rsuite/rsuite-icons
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import TagAuthorizeSvg from '@rsuite/icon-font/lib/legacy/TagAuthorize';
const TagAuthorize = createSvgIcon({
as: TagAuthorizeSvg,
ariaLabel: 'tag authorize',
category: 'legacy',
display... |
rsuite/rsuite-icons | src/icons/legacy/TwinkleStar.tsx | <filename>src/icons/legacy/TwinkleStar.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import TwinkleStarSvg from '@rsuite/icon-font/lib/legacy/TwinkleStar';
const TwinkleStar = createSvgIcon({
as: TwinkleStarSvg,
ariaLabel: 'twinkle star',
category: 'legacy',
... |
rsuite/rsuite-icons | src/icons/legacy/Profile.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import ProfileSvg from '@rsuite/icon-font/lib/legacy/Profile';
const Profile = createSvgIcon({
as: ProfileSvg,
ariaLabel: 'profile',
category: 'legacy',
displayName: 'Profile'
});
export default Profile;
|
rsuite/rsuite-icons | src/icons/legacy/CaretUp.tsx | <reponame>rsuite/rsuite-icons
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import CaretUpSvg from '@rsuite/icon-font/lib/legacy/CaretUp';
const CaretUp = createSvgIcon({
as: CaretUpSvg,
ariaLabel: 'caret up',
category: 'legacy',
displayName: 'CaretUp'
});
expo... |
rsuite/rsuite-icons | src/icons/legacy/Frame.tsx | <filename>src/icons/legacy/Frame.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import FrameSvg from '@rsuite/icon-font/lib/legacy/Frame';
const Frame = createSvgIcon({
as: FrameSvg,
ariaLabel: 'frame',
category: 'legacy',
displayName: 'Frame'
});
export def... |
rsuite/rsuite-icons | src/icons/legacy/Upload.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import UploadSvg from '@rsuite/icon-font/lib/legacy/Upload';
const Upload = createSvgIcon({
as: UploadSvg,
ariaLabel: 'upload',
category: 'legacy',
displayName: 'Upload'
});
export default Upload;
|
rsuite/rsuite-icons | src/icons/legacy/Detail.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import DetailSvg from '@rsuite/icon-font/lib/legacy/Detail';
const Detail = createSvgIcon({
as: DetailSvg,
ariaLabel: 'detail',
category: 'legacy',
displayName: 'Detail'
});
export default Detail;
|
rsuite/rsuite-icons | src/icons/TagDate.tsx | <filename>src/icons/TagDate.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import TagDateSvg from '@rsuite/icon-font/lib/application/TagDate';
const TagDate = createSvgIcon({
as: TagDateSvg,
ariaLabel: 'tag date',
category: 'application',
displayName: 'TagDate'
... |
rsuite/rsuite-icons | src/icons/legacy/CloseCircle.tsx | <gh_stars>1-10
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import CloseCircleSvg from '@rsuite/icon-font/lib/legacy/CloseCircle';
const CloseCircle = createSvgIcon({
as: CloseCircleSvg,
ariaLabel: 'close circle',
category: 'legacy',
displayName: 'CloseCircle'
... |
rsuite/rsuite-icons | src/icons/InfoRound.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import InfoRoundSvg from '@rsuite/icon-font/lib/status/InfoRound';
const InfoRound = createSvgIcon({
as: InfoRoundSvg,
ariaLabel: 'info round',
category: 'status',
displayName: 'InfoRound'
});
export default InfoRound;... |
rsuite/rsuite-icons | src/icons/legacy/Rocket.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import RocketSvg from '@rsuite/icon-font/lib/legacy/Rocket';
const Rocket = createSvgIcon({
as: RocketSvg,
ariaLabel: 'rocket',
category: 'legacy',
displayName: 'Rocket'
});
export default Rocket;
|
rsuite/rsuite-icons | src/icons/legacy/Sequence.tsx | <reponame>rsuite/rsuite-icons<gh_stars>1-10
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import SequenceSvg from '@rsuite/icon-font/lib/legacy/Sequence';
const Sequence = createSvgIcon({
as: SequenceSvg,
ariaLabel: 'sequence',
category: 'legacy',
displayName: '... |
rsuite/rsuite-icons | src/icons/legacy/Gitlab.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import GitlabSvg from '@rsuite/icon-font/lib/legacy/Gitlab';
const Gitlab = createSvgIcon({
as: GitlabSvg,
ariaLabel: 'gitlab',
category: 'legacy',
displayName: 'Gitlab'
});
export default Gitlab;
|
rsuite/rsuite-icons | docs/index.tsx | <filename>docs/index.tsx
import * as React from 'react';
import ReactDOM from 'react-dom';
import { Grid, Button } from 'rsuite';
import Examples from './Examples';
import './less/index.less';
import Charts from '../src/icons/legacy/Charts';
import Spinner from '../src/icons/legacy/Spinner';
import Cog from '../src/ico... |
rsuite/rsuite-icons | src/icons/WechatOutline.tsx | <filename>src/icons/WechatOutline.tsx<gh_stars>1-10
// Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import WechatOutlineSvg from '@rsuite/icon-font/lib/platform/WechatOutline';
const WechatOutline = createSvgIcon({
as: WechatOutlineSvg,
ariaLabel: 'wechat outline',
cat... |
rsuite/rsuite-icons | src/icons/legacy/SortAmountAsc.tsx | <filename>src/icons/legacy/SortAmountAsc.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import SortAmountAscSvg from '@rsuite/icon-font/lib/legacy/SortAmountAsc';
const SortAmountAsc = createSvgIcon({
as: SortAmountAscSvg,
ariaLabel: 'sort amount asc',
category... |
rsuite/rsuite-icons | src/icons/Review.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import ReviewSvg from '@rsuite/icon-font/lib/flow/Review';
const Review = createSvgIcon({
as: ReviewSvg,
ariaLabel: 'review',
category: 'flow',
displayName: 'Review'
});
export default Review;
|
rsuite/rsuite-icons | src/icons/legacy/Modx.tsx | <gh_stars>1-10
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import ModxSvg from '@rsuite/icon-font/lib/legacy/Modx';
const Modx = createSvgIcon({
as: ModxSvg,
ariaLabel: 'modx',
category: 'legacy',
displayName: 'Modx'
});
export default Modx;
|
rsuite/rsuite-icons | src/icons/RemindRound.tsx | <gh_stars>1-10
// Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import RemindRoundSvg from '@rsuite/icon-font/lib/status/RemindRound';
const RemindRound = createSvgIcon({
as: RemindRoundSvg,
ariaLabel: 'remind round',
category: 'status',
displayName: 'RemindRound'
});... |
rsuite/rsuite-icons | src/icons/legacy/Plane.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import PlaneSvg from '@rsuite/icon-font/lib/legacy/Plane';
const Plane = createSvgIcon({
as: PlaneSvg,
ariaLabel: 'plane',
category: 'legacy',
displayName: 'Plane'
});
export default Plane;
|
rsuite/rsuite-icons | src/icons/Sort.tsx | <filename>src/icons/Sort.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import SortSvg from '@rsuite/icon-font/lib/direction/Sort';
const Sort = createSvgIcon({
as: SortSvg,
ariaLabel: 'sort',
category: 'direction',
displayName: 'Sort'
});
export default Sort;
|
rsuite/rsuite-icons | src/icons/legacy/CartPlus.tsx | <reponame>rsuite/rsuite-icons
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import CartPlusSvg from '@rsuite/icon-font/lib/legacy/CartPlus';
const CartPlus = createSvgIcon({
as: CartPlusSvg,
ariaLabel: 'cart plus',
category: 'legacy',
displayName: 'CartPlus'
});... |
rsuite/rsuite-icons | src/icons/legacy/Ra.tsx | <filename>src/icons/legacy/Ra.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import RaSvg from '@rsuite/icon-font/lib/legacy/Ra';
const Ra = createSvgIcon({
as: RaSvg,
ariaLabel: 'ra',
category: 'legacy',
displayName: 'Ra'
});
export default Ra;
|
rsuite/rsuite-icons | src/icons/legacy/Explore.tsx | <filename>src/icons/legacy/Explore.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import ExploreSvg from '@rsuite/icon-font/lib/legacy/Explore';
const Explore = createSvgIcon({
as: ExploreSvg,
ariaLabel: 'explore',
category: 'legacy',
displayName: 'Explore'
}... |
rsuite/rsuite-icons | src/icons/legacy/Jsfiddle.tsx | <reponame>rsuite/rsuite-icons
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import JsfiddleSvg from '@rsuite/icon-font/lib/legacy/Jsfiddle';
const Jsfiddle = createSvgIcon({
as: JsfiddleSvg,
ariaLabel: 'jsfiddle',
category: 'legacy',
displayName: 'Jsfiddle'
});
... |
rsuite/rsuite-icons | src/icons/legacy/Compass.tsx | <filename>src/icons/legacy/Compass.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import CompassSvg from '@rsuite/icon-font/lib/legacy/Compass';
const Compass = createSvgIcon({
as: CompassSvg,
ariaLabel: 'compass',
category: 'legacy',
displayName: 'Compass'
}... |
rsuite/rsuite-icons | src/icons/PauseRound.tsx | <reponame>rsuite/rsuite-icons
// Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import PauseRoundSvg from '@rsuite/icon-font/lib/status/PauseRound';
const PauseRound = createSvgIcon({
as: PauseRoundSvg,
ariaLabel: 'pause round',
category: 'status',
displayName: 'PauseR... |
rsuite/rsuite-icons | src/icons/legacy/SignIn.tsx | <gh_stars>1-10
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import SignInSvg from '@rsuite/icon-font/lib/legacy/SignIn';
const SignIn = createSvgIcon({
as: SignInSvg,
ariaLabel: 'sign in',
category: 'legacy',
displayName: 'SignIn'
});
export default SignIn;
|
rsuite/rsuite-icons | src/icons/legacy/LogoVideo.tsx | <gh_stars>1-10
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import LogoVideoSvg from '@rsuite/icon-font/lib/legacy/LogoVideo';
const LogoVideo = createSvgIcon({
as: LogoVideoSvg,
ariaLabel: 'logo video',
category: 'legacy',
displayName: 'LogoVideo'
});
export ... |
rsuite/rsuite-icons | src/icons/legacy/VimeoSquare.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import VimeoSquareSvg from '@rsuite/icon-font/lib/legacy/VimeoSquare';
const VimeoSquare = createSvgIcon({
as: VimeoSquareSvg,
ariaLabel: 'vimeo square',
category: 'legacy',
displayName: 'VimeoSquare'
});
export def... |
rsuite/rsuite-icons | src/icons/TimeRound.tsx | <gh_stars>1-10
// Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import TimeRoundSvg from '@rsuite/icon-font/lib/status/TimeRound';
const TimeRound = createSvgIcon({
as: TimeRoundSvg,
ariaLabel: 'time round',
category: 'status',
displayName: 'TimeRound'
});
export def... |
rsuite/rsuite-icons | src/icons/Visible.tsx | <filename>src/icons/Visible.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import VisibleSvg from '@rsuite/icon-font/lib/status/Visible';
const Visible = createSvgIcon({
as: VisibleSvg,
ariaLabel: 'visible',
category: 'status',
displayName: 'Visible'
});
export... |
rsuite/rsuite-icons | src/icons/legacy/ArrowUp2.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import ArrowUp2Svg from '@rsuite/icon-font/lib/legacy/ArrowUp2';
const ArrowUp2 = createSvgIcon({
as: ArrowUp2Svg,
ariaLabel: 'arrow up 2',
category: 'legacy',
displayName: 'ArrowUp2'
});
export default ArrowUp2;
|
rsuite/rsuite-icons | src/icons/legacy/Superpowers.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import SuperpowersSvg from '@rsuite/icon-font/lib/legacy/Superpowers';
const Superpowers = createSvgIcon({
as: SuperpowersSvg,
ariaLabel: 'superpowers',
category: 'legacy',
displayName: 'Superpowers'
});
export defa... |
rsuite/rsuite-icons | src/icons/legacy/MinusSquareO.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import MinusSquareOSvg from '@rsuite/icon-font/lib/legacy/MinusSquareO';
const MinusSquareO = createSvgIcon({
as: MinusSquareOSvg,
ariaLabel: 'minus square o',
category: 'legacy',
displayName: 'MinusSquareO'
});
exp... |
rsuite/rsuite-icons | src/icons/legacy/SortNumericAsc.tsx | <reponame>rsuite/rsuite-icons
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import SortNumericAscSvg from '@rsuite/icon-font/lib/legacy/SortNumericAsc';
const SortNumericAsc = createSvgIcon({
as: SortNumericAscSvg,
ariaLabel: 'sort numeric asc',
category: 'legacy'... |
rsuite/rsuite-icons | src/icons/legacy/MinusSquare.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import MinusSquareSvg from '@rsuite/icon-font/lib/legacy/MinusSquare';
const MinusSquare = createSvgIcon({
as: MinusSquareSvg,
ariaLabel: 'minus square',
category: 'legacy',
displayName: 'MinusSquare'
});
export def... |
rsuite/rsuite-icons | src/icons/legacy/Microchip.tsx | <reponame>rsuite/rsuite-icons<filename>src/icons/legacy/Microchip.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import MicrochipSvg from '@rsuite/icon-font/lib/legacy/Microchip';
const Microchip = createSvgIcon({
as: MicrochipSvg,
ariaLabel: 'microchip',
categ... |
rsuite/rsuite-icons | src/icons/SortUp.tsx | <gh_stars>1-10
// Generated by script, don't edit it please.
import createSvgIcon from '../createSvgIcon';
import SortUpSvg from '@rsuite/icon-font/lib/direction/SortUp';
const SortUp = createSvgIcon({
as: SortUpSvg,
ariaLabel: 'sort up',
category: 'direction',
displayName: 'SortUp'
});
export default SortUp;... |
rsuite/rsuite-icons | src/icons/legacy/BookmarkO.tsx | <gh_stars>1-10
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import BookmarkOSvg from '@rsuite/icon-font/lib/legacy/BookmarkO';
const BookmarkO = createSvgIcon({
as: BookmarkOSvg,
ariaLabel: 'bookmark o',
category: 'legacy',
displayName: 'BookmarkO'
});
export ... |
rsuite/rsuite-icons | src/icons/legacy/Stop2.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import Stop2Svg from '@rsuite/icon-font/lib/legacy/Stop2';
const Stop2 = createSvgIcon({
as: Stop2Svg,
ariaLabel: 'stop 2',
category: 'legacy',
displayName: 'Stop2'
});
export default Stop2;
|
rsuite/rsuite-icons | src/icons/legacy/Reply.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import ReplySvg from '@rsuite/icon-font/lib/legacy/Reply';
const Reply = createSvgIcon({
as: ReplySvg,
ariaLabel: 'reply',
category: 'legacy',
displayName: 'Reply'
});
export default Reply;
|
rsuite/rsuite-icons | src/icons/legacy/Book.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import BookSvg from '@rsuite/icon-font/lib/legacy/Book';
const Book = createSvgIcon({
as: BookSvg,
ariaLabel: 'book',
category: 'legacy',
displayName: 'Book'
});
export default Book;
|
rsuite/rsuite-icons | src/icons/legacy/Collasped.tsx | <filename>src/icons/legacy/Collasped.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import CollaspedSvg from '@rsuite/icon-font/lib/legacy/Collasped';
const Collasped = createSvgIcon({
as: CollaspedSvg,
ariaLabel: 'collasped',
category: 'legacy',
displayName:... |
rsuite/rsuite-icons | src/icons/legacy/SnapchatGhost.tsx | <filename>src/icons/legacy/SnapchatGhost.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import SnapchatGhostSvg from '@rsuite/icon-font/lib/legacy/SnapchatGhost';
const SnapchatGhost = createSvgIcon({
as: SnapchatGhostSvg,
ariaLabel: 'snapchat ghost',
category:... |
rsuite/rsuite-icons | src/icons/legacy/HandPeaceO.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import HandPeaceOSvg from '@rsuite/icon-font/lib/legacy/HandPeaceO';
const HandPeaceO = createSvgIcon({
as: HandPeaceOSvg,
ariaLabel: 'hand peace o',
category: 'legacy',
displayName: 'HandPeaceO'
});
export default ... |
rsuite/rsuite-icons | src/icons/legacy/ArrowDown2.tsx | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import ArrowDown2Svg from '@rsuite/icon-font/lib/legacy/ArrowDown2';
const ArrowDown2 = createSvgIcon({
as: ArrowDown2Svg,
ariaLabel: 'arrow down 2',
category: 'legacy',
displayName: 'ArrowDown2'
});
export default ... |
rsuite/rsuite-icons | src/icons/legacy/Barcode.tsx | <filename>src/icons/legacy/Barcode.tsx
// Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import BarcodeSvg from '@rsuite/icon-font/lib/legacy/Barcode';
const Barcode = createSvgIcon({
as: BarcodeSvg,
ariaLabel: 'barcode',
category: 'legacy',
displayName: 'Barcode'
}... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.