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
<!-- Feel free to copy and paste the markup below --> | |
<h2>Icon Only</h2> | |
<!-- Icon-only Branded Twitter button --> | |
<a class="share-btn share-btn-branded share-btn-twitter" | |
href="https://twitter.com/share?url=http%3A%2F%2Fcodepen.io%2Fsunnysingh%2Fpen%2FOPxbgq&text=Share Buttons Demo&via=sunnyismoi" | |
title="Share on Twitter"> | |
<span class="share-btn-icon"></span> | |
<span class="share-btn-text-sr">Twitter</span> |
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 { configure } from '@storybook/react'; | |
import { themes } from '@storybook/theming'; | |
import React from 'react'; | |
import { addParameters } from '@storybook/react'; | |
import { addDecorator } from '@storybook/react'; | |
import GlobalStyle from '../src/globalstyle'; | |
import { ThemeProvider } from 'styled-components'; | |
import Theme from '../src/theme'; | |
addDecorator((story) => ( |
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
public static DateTime AddBusinessDays(DateTime current, int days, bool adjustCurrentDateForWeekend = true) | |
{ | |
if(adjustCurrentDateForWeekend) | |
current = AdjustCurrentDateForWeekend(current, days); | |
var sign = Math.Sign(days); | |
var unsignedDays = Math.Abs(days); | |
for (var i = 0; i < unsignedDays; i++) | |
{ | |
do |