Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct typos #1152

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions playground/src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ContainerCode, ContainerCodeProps } from './ContainerCode';
import { Header } from './Header';
import { Radio } from './Radio';
import { ToastCode, ToastCodeProps } from './ToastCode';
import { flags, positions, themes, transitions, typs } from './constants';
import { flags, positions, themes, transitions, types } from './constants';

import React from 'react';
import '../../../scss/main.scss';
Expand Down Expand Up @@ -152,7 +152,7 @@ class App extends React.Component {
<h3>Type</h3>
<ul>
<Radio
options={typs}
options={types}
name="type"
checked={this.state.type}
onChange={this.handleRadioOrSelect}
Expand Down
2 changes: 1 addition & 1 deletion playground/src/components/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const positions = {
BOTTOM_CENTER: 'bottom-center'
};

export const typs = {
export const types = {
INFO: 'info',
SUCCESS: 'success',
WARNING: 'warning',
Expand Down