Skip to content

Commit

Permalink
Merge pull request #1125 from openameba/chore/connect-InlineNotification
Browse files Browse the repository at this point in the history
chore(spindle-ui): change prop names in InlineNotification.figma.tsx
  • Loading branch information
herablog authored Sep 18, 2024
2 parents 1a73dfe + fc8467f commit d348b1d
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ figma.connect(
{
imports: ["import { InlineNotification } from '@openameba/spindle-ui';"],
props: {
type: figma.enum('Type', {
variant: figma.enum('variant', {
Information: 'information',
Confirmation: 'confirmation',
Error: 'error',
}),
layout: figma.enum('Shape', {
layout: figma.enum('layout', {
full: 'full',
inset: 'inset',
}),
emphasis: figma.boolean('Emphasized'),
emphasis: figma.boolean('emphasis'),
label: figma.textContent('label'),
leftIcon: figma.enum('Left Icon', {
Icon: <Information aria-hidden="true" />,
Expand All @@ -37,9 +37,9 @@ figma.connect(
Button: <InlineNotification.Button>{''}</InlineNotification.Button>,
}),
},
example: ({ type, layout, emphasis, label, leftIcon, closeButton }) => (
example: ({ variant, layout, emphasis, label, leftIcon, closeButton }) => (
<InlineNotification.Frame
variant={type}
variant={variant}
layout={layout}
emphasis={emphasis}
>
Expand Down

0 comments on commit d348b1d

Please sign in to comment.