Skip to content

Commit

Permalink
Remove lock files for exmaple
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatto committed Mar 7, 2024
1 parent d5a22f1 commit 6b5ef42
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 66,696 deletions.
1 change: 1 addition & 0 deletions examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { ModuleFields, IconField } from '@hubspot/cms-components/fields';
import { Icon, logInfo } from '@hubspot/cms-components';

export function Component(props) {
logInfo(props);
import { Icon } from '@hubspot/cms-components';

export function Component() {
return (
<>
<h1>Icon Examples</h1>
Expand All @@ -14,9 +12,10 @@ export function Component(props) {
justifyContent: 'space-around',
}}
>
<Icon fieldPath="iconExampleOne" iconStyle="LIGHT" />
<Icon fieldPath="iconExampleTwo" iconStyle="OUTLINE" />
<Icon fieldPath="iconExampleThree" iconStyle="SOLID" />
{/* The Icon component takes a field path as defined in the "fields" export */}
<Icon fieldPath="iconExampleOne" />
<Icon fieldPath="iconExampleTwo" />
<Icon fieldPath="iconExampleThree" />
</div>
</>
);
Expand Down
Loading

0 comments on commit 6b5ef42

Please sign in to comment.