Skip to content

Commit

Permalink
Change spelling License -> Licence
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhabib committed Oct 29, 2024
1 parent 28557db commit 0f66d6f
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions .changeset/beige-eels-cheer.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

---
updated:
- IconLicense
- IconLicence
---

**IconLicense:** Add component
**IconLicence:** Add component

Add `IconLicense` to icon suite
Add `IconLicence` to icon suite

**EXAMPLE USAGE:**
```jsx
<IconLicense />
<IconLicence />
```
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import React from 'react';
import type { ComponentDocs } from 'site/types';
import { iconDocumentation } from '../iconCommon.docs';
import source from '@braid-design-system/source.macro';
import { IconLicense, Heading, Stack } from '../../';
import { IconLicence, Heading, Stack } from '../../';

const docs: ComponentDocs = {
category: 'Icon',
Example: () =>
source(
<Stack space="none" align="center">
<Heading component="div" level="1">
<IconLicense />
<IconLicence />
</Heading>
</Stack>,
),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';
import { Box } from '../../Box/Box';
import { IconContainer, type IconContainerProps } from '../IconContainer';
import { IconLicenceSvg } from './IconLicenceSvg';

export type IconLicenceProps = IconContainerProps;

export const IconLicence = (props: IconLicenceProps) => (
<IconContainer {...props}>
{(svgProps) => <Box component={IconLicenceSvg} {...svgProps} />}
</IconContainer>
);

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1050,12 +1050,12 @@ export const IconLanguageSvg = ({ title, titleId, ...props }: SVGProps) => (
"
`;

exports[`IconLicenseSvg should match snapshot 1`] = `
exports[`IconLicenceSvg should match snapshot 1`] = `
"import React from 'react';
import type { SVGProps } from '../SVGTypes';
export const IconLicenseSvg = ({ title, titleId, ...props }: SVGProps) => (
export const IconLicenceSvg = ({ title, titleId, ...props }: SVGProps) => (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export { IconImage } from './IconImage/IconImage';
export { IconInfo } from './IconInfo/IconInfo';
export { IconInvoice } from './IconInvoice/IconInvoice';
export { IconLanguage } from './IconLanguage/IconLanguage';
export { IconLicense } from './IconLicense/IconLicense';
export { IconLicence } from './IconLicence/IconLicence';
export { IconLink } from './IconLink/IconLink';
export { IconLinkBroken } from './IconLinkBroken/IconLinkBroken';
export { IconList } from './IconList/IconList';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4738,7 +4738,7 @@ exports[`IconLanguage 1`] = `
}
`;

exports[`IconLicense 1`] = `
exports[`IconLicence 1`] = `
{
exportType: component,
props: {
Expand Down

0 comments on commit 0f66d6f

Please sign in to comment.