styled-components#StyledFunction TypeScript Examples

The following examples show how to use styled-components#StyledFunction. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Button.base.tsx    From design-system with Apache License 2.0 5 votes vote down vote up
button: StyledFunction<typeof Button> = styled(Button)
Example #2
Source File: Button.destructive.tsx    From design-system with Apache License 2.0 5 votes vote down vote up
button: StyledFunction<typeof ButtonPrimary> = styled(ButtonPrimary)
Example #3
Source File: Button.icon.tsx    From design-system with Apache License 2.0 5 votes vote down vote up
button: StyledFunction<React.FC<ButtonIconProps>> = styled(ButtonSecondary)
Example #4
Source File: Button.primary.tsx    From design-system with Apache License 2.0 5 votes vote down vote up
button: StyledFunction<typeof ButtonBase> = styled(ButtonBase)
Example #5
Source File: Button.secondary.tsx    From design-system with Apache License 2.0 5 votes vote down vote up
button: StyledFunction<typeof ButtonPrimary> = styled(ButtonPrimary)
Example #6
Source File: Button.tertiary.tsx    From design-system with Apache License 2.0 5 votes vote down vote up
button: StyledFunction<typeof ButtonSecondary> = styled(ButtonSecondary)
Example #7
Source File: Skeleton.Button.tsx    From design-system with Apache License 2.0 5 votes vote down vote up
StyledSkeleton: StyledFunction<React.FC<ButtonSkeletonTypes>> = styled(Skeleton)